v8  6.2.414(node9.11.2)
V8 is Google's open source JavaScript engine
SerializeInternalFieldsCallback Struct Reference

#include <v8.h>

Collaboration diagram for SerializeInternalFieldsCallback:

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.

Definition at line 6727 of file v8.h.

Member Typedef Documentation

◆ CallbackFunction

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

Definition at line 6728 of file v8.h.

Constructor & Destructor Documentation

◆ SerializeInternalFieldsCallback()

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

Definition at line 6730 of file v8.h.

Field Documentation

◆ callback

CallbackFunction callback

Definition at line 6733 of file v8.h.

◆ data

void* data

Definition at line 6734 of file v8.h.


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