v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <v8-snapshot.h>
Public Types | |
using | CallbackFunction = StartupData(*)(Local< Object > holder, int index, void *data) |
Public Member Functions | |
SerializeInternalFieldsCallback (CallbackFunction function=nullptr, void *data_arg=nullptr) | |
Data Fields | |
CallbackFunction | callback |
void * | data |
Callback and supporting data used in SnapshotCreator to implement embedder logic to serialize internal fields of v8::Objects. Internal fields that directly reference V8 objects are serialized without calling this callback. Internal fields that contain aligned pointers are serialized by this callback if it returns non-zero result. Otherwise it is serialized verbatim.
Definition at line 47 of file v8-snapshot.h.
using CallbackFunction = StartupData (*)(Local<Object> holder, int index, void* data) |
Definition at line 48 of file v8-snapshot.h.
|
inline |
Definition at line 50 of file v8-snapshot.h.
CallbackFunction callback |
Definition at line 53 of file v8-snapshot.h.
void* data |
Definition at line 54 of file v8-snapshot.h.