v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
CFunction Class Reference

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

Public Member Functions

constexpr CFunction ()
 
const CTypeInfoReturnInfo () const
 
const CTypeInfoArgumentInfo (unsigned int index) const
 
unsigned int ArgumentCount () const
 
const void * GetAddress () const
 
const CFunctionInfoGetTypeInfo () const
 

Static Public Member Functions

template<typename F >
static CFunction Make (F *func)
 
template<typename F >
static CFunction MakeWithFallbackSupport (F *func)
 
template<typename F >
static CFunction Make (F *func, const CFunctionInfo *type_info)
 

Detailed Description

Definition at line 358 of file v8-fast-api-calls.h.

Constructor & Destructor Documentation

◆ CFunction()

constexpr CFunction ( )
inlineconstexpr

Definition at line 360 of file v8-fast-api-calls.h.

Member Function Documentation

◆ ArgumentCount()

unsigned int ArgumentCount ( ) const
inline

Definition at line 368 of file v8-fast-api-calls.h.

References CFunctionInfo::ArgumentCount().

◆ ArgumentInfo()

const CTypeInfo& ArgumentInfo ( unsigned int  index) const
inline

Definition at line 364 of file v8-fast-api-calls.h.

References CFunctionInfo::ArgumentInfo().

◆ GetAddress()

const void* GetAddress ( ) const
inline

Definition at line 370 of file v8-fast-api-calls.h.

◆ GetTypeInfo()

const CFunctionInfo* GetTypeInfo ( ) const
inline

Definition at line 371 of file v8-fast-api-calls.h.

◆ Make() [1/2]

static CFunction Make ( F *  func)
inlinestatic

Definition at line 374 of file v8-fast-api-calls.h.

◆ Make() [2/2]

static CFunction Make ( F *  func,
const CFunctionInfo type_info 
)
inlinestatic

Definition at line 385 of file v8-fast-api-calls.h.

◆ MakeWithFallbackSupport()

static CFunction MakeWithFallbackSupport ( F *  func)
inlinestatic

Definition at line 380 of file v8-fast-api-calls.h.

◆ ReturnInfo()

const CTypeInfo& ReturnInfo ( ) const
inline

Definition at line 362 of file v8-fast-api-calls.h.

References CFunctionInfo::ReturnInfo().


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