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

#include <v8.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 8223 of file v8.h.

Member Typedef Documentation

◆ CallbackFunction

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

Definition at line 8224 of file v8.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: