My Project
V8 API Reference Guide generated from the header files
Public Types | Public Member Functions | Data Fields
v8::SerializeInternalFieldsCallback Struct Reference

#include <v8.h>

Public Types

typedef StartupData(* CallbackFunction) (Local< Object > holder, int index, void *data)
 

Public Member Functions

 SerializeInternalFieldsCallback (CallbackFunction function=nullptr, void *data_arg=nullptr)
 

Data Fields

CallbackFunction callback
 
void * data
 

Detailed Description

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.


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