#include <v8-snapshot.h>
Public Types | |
using | CallbackFunction = StartupData(*)(Local< Object > holder, void *cpp_heap_pointer, void *data) |
Public Member Functions | |
SerializeAPIWrapperCallback (CallbackFunction function=nullptr, void *data=nullptr) | |
Public Attributes | |
CallbackFunction | callback |
void * | data |
Similar to SerializeInternalFieldsCallback
, but is used exclusively to serialize API wrappers. The pointers for API wrappers always point into the CppHeap.
using v8::SerializeAPIWrapperCallback::CallbackFunction = StartupData (*)(Local<Object> holder, void* cpp_heap_pointer, void* data) |
|
inlineexplicit |
CallbackFunction v8::SerializeAPIWrapperCallback::callback |
void* v8::SerializeAPIWrapperCallback::data |