v8
9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
|
#include <v8.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. 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.
using CallbackFunction = StartupData (*)(Local<Object> holder, int index, void* data) |
|
inline |
Definition at line 8355 of file v8.h.
References SerializeInternalFieldsCallback::callback, and SerializeInternalFieldsCallback::data.
CallbackFunction callback |
Definition at line 8358 of file v8.h.
Referenced by SerializeInternalFieldsCallback::SerializeInternalFieldsCallback().
void* data |
Definition at line 8359 of file v8.h.
Referenced by SerializeInternalFieldsCallback::SerializeInternalFieldsCallback().