v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
ZoneBackingAllocator Class Reference

#include <v8-platform.h>

Public Types

using MallocFn = void *(*)(size_t)
 
using FreeFn = void(*)(void *)
 

Public Member Functions

virtual MallocFn GetMallocFn () const
 
virtual FreeFn GetFreeFn () const
 

Detailed Description

V8 Allocator used for allocating zone backings.

Definition at line 861 of file v8-platform.h.

Member Typedef Documentation

◆ FreeFn

using FreeFn = void (*)(void*)

Definition at line 864 of file v8-platform.h.

◆ MallocFn

using MallocFn = void* (*)(size_t)

Definition at line 863 of file v8-platform.h.

Member Function Documentation

◆ GetFreeFn()

virtual FreeFn GetFreeFn ( ) const
inlinevirtual

Definition at line 867 of file v8-platform.h.

◆ GetMallocFn()

virtual MallocFn GetMallocFn ( ) const
inlinevirtual

Definition at line 866 of file v8-platform.h.


The documentation for this class was generated from the following file: