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

#include <v8-snapshot.h>

Collaboration diagram for DeserializeInternalFieldsCallback:

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

CallbackFunction callback
 
void * data
 

Detailed Description

Callback and supporting data used to implement embedder logic to deserialize internal fields of v8::Objects.

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

Member Typedef Documentation

◆ CallbackFunction

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

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

Constructor & Destructor Documentation

◆ DeserializeInternalFieldsCallback()

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

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

Field Documentation

◆ callback

CallbackFunction callback

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

◆ data

void* data

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


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