v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
DeserializeContextDataCallback Struct Reference

#include <v8-snapshot.h>

Collaboration diagram for DeserializeContextDataCallback:

Public Types

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

Public Member Functions

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

Data Fields

CallbackFunction callback
 
void * data
 

Detailed Description

Similar to DeserializeInternalFieldsCallback, but works with the embedder data in a v8::Context.

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

Member Typedef Documentation

◆ CallbackFunction

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

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

Constructor & Destructor Documentation

◆ DeserializeContextDataCallback()

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

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

Field Documentation

◆ callback

CallbackFunction callback

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

◆ data

void* data

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


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