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

#include <v8-fast-api-calls.h>

Collaboration diagram for v8::FastApiCallbackOptions:
[legend]

Static Public Member Functions

static FastApiCallbackOptions CreateForTesting (Isolate *isolate)
 

Public Attributes

v8::Isolateisolate = nullptr
 
v8::Local< v8::Valuedata
 

Detailed Description

A struct which may be passed to a fast call callback, like so:

void FastMethodWithOptions(int param, FastApiCallbackOptions& options);
Definition: v8-fast-api-calls.h:546

Member Function Documentation

◆ CreateForTesting()

static FastApiCallbackOptions v8::FastApiCallbackOptions::CreateForTesting ( Isolate isolate)
inlinestatic

Creates a new instance of FastApiCallbackOptions for testing purpose. The returned instance may be filled with mock data.

Member Data Documentation

◆ data

v8::Local<v8::Value> v8::FastApiCallbackOptions::data

The data passed to the FunctionTemplate constructor, or undefined.

◆ isolate

v8::Isolate* v8::FastApiCallbackOptions::isolate = nullptr

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