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

#include <v8-snapshot.h>

Collaboration diagram for v8::SerializeContextDataCallback:
[legend]

Public Types

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

Public Member Functions

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

Public Attributes

CallbackFunction callback
 
void * data
 

Detailed Description

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

Member Typedef Documentation

◆ CallbackFunction

Constructor & Destructor Documentation

◆ SerializeContextDataCallback()

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

Member Data Documentation

◆ callback

CallbackFunction v8::SerializeContextDataCallback::callback

◆ data

void* v8::SerializeContextDataCallback::data

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