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

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

Collaboration diagram for v8::FastApiCallbackOptions:
[legend]

Public Member Functions

v8::Local< v8::Data > DataV2 () const
 

Static Public Member Functions

static FastApiCallbackOptions CreateForTesting (Isolate *isolate)
 

Public Attributes

v8::Isolate * isolate = nullptr
 

Friends

class internal::compiler::fast_api_call::FastApiCallBuilder
 
template<typename Next >
class internal::compiler::turboshaft::FastApiCallLoweringReducer
 
class internal::wasm::TurboshaftGraphBuildingInterface
 

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:469

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.

◆ DataV2()

v8::Local< v8::Data > v8::FastApiCallbackOptions::DataV2 ( ) const
inline

The data passed to the FunctionTemplate constructor as v8::Data.

Friends And Related Function Documentation

◆ internal::compiler::fast_api_call::FastApiCallBuilder

friend class internal::compiler::fast_api_call::FastApiCallBuilder
friend

◆ internal::compiler::turboshaft::FastApiCallLoweringReducer

template<typename Next >
friend class internal::compiler::turboshaft::FastApiCallLoweringReducer
friend

◆ internal::wasm::TurboshaftGraphBuildingInterface

friend class internal::wasm::TurboshaftGraphBuildingInterface
friend

Member Data Documentation

◆ isolate

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

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