Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
v8::DeserializeContextDataCallback Struct Reference

#include <v8-snapshot.h>

Collaboration diagram for v8::DeserializeContextDataCallback:
[legend]

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)
 

Public Attributes

CallbackFunction callback
 
void * data
 

Detailed Description

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

Member Typedef Documentation

◆ CallbackFunction

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

Constructor & Destructor Documentation

◆ DeserializeContextDataCallback()

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

Member Data Documentation

◆ callback

CallbackFunction v8::DeserializeContextDataCallback::callback

◆ data

void* v8::DeserializeContextDataCallback::data

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