v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
DeserializeInternalFieldsCallback Struct Reference

#include <v8-snapshot.h>

Public Types

using CallbackFunction = void(*)(Local< Object > holder, int index, StartupData payload, void *data)
 

Public Member Functions

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

Data Fields

void(* callback )(Local< Object > holder, int index, StartupData payload, void *data)
 
void * data
 

Detailed Description

Callback and supporting data used to implement embedder logic to deserialize internal fields.

Definition at line 59 of file v8-snapshot.h.

Member Typedef Documentation

◆ CallbackFunction

using CallbackFunction = void (*)(Local<Object> holder, int index, StartupData payload, void* data)

Definition at line 60 of file v8-snapshot.h.

Constructor & Destructor Documentation

◆ DeserializeInternalFieldsCallback()

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

Field Documentation

◆ callback

void(* callback) (Local< Object > holder, int index, StartupData payload, void *data)

◆ data

void* data

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