v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
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

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

Field Documentation

◆ callback

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

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

◆ data

void* data

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


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