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

#include <v8-snapshot.h>

Collaboration diagram for v8::SerializeAPIWrapperCallback:
[legend]

Public Types

using CallbackFunction = StartupData(*)(Local< Object > holder, void *cpp_heap_pointer, void *data)
 

Public Member Functions

 SerializeAPIWrapperCallback (CallbackFunction function=nullptr, void *data=nullptr)
 

Public Attributes

CallbackFunction callback
 
void * data
 

Detailed Description

Similar to SerializeInternalFieldsCallback, but is used exclusively to serialize API wrappers. The pointers for API wrappers always point into the CppHeap.

Member Typedef Documentation

◆ CallbackFunction

using v8::SerializeAPIWrapperCallback::CallbackFunction = StartupData (*)(Local<Object> holder, void* cpp_heap_pointer, void* data)

Constructor & Destructor Documentation

◆ SerializeAPIWrapperCallback()

v8::SerializeAPIWrapperCallback::SerializeAPIWrapperCallback ( CallbackFunction  function = nullptr,
void *  data = nullptr 
)
inlineexplicit

Member Data Documentation

◆ callback

CallbackFunction v8::SerializeAPIWrapperCallback::callback

◆ data

void* v8::SerializeAPIWrapperCallback::data

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