v8  8.6.395(node15.0.1)
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 MakeWithErrorSupport (F *func)
 
template<typename F >
static CFunction Make (F *func, const CFunctionInfo *type_info)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CFunction()

constexpr CFunction ( )
inlineconstexpr

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

Member Function Documentation

◆ ArgumentCount()

unsigned int ArgumentCount ( ) const
inline

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

References CFunctionInfo::ArgumentCount().

◆ ArgumentInfo()

const CTypeInfo& ArgumentInfo ( unsigned int  index) const
inline

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

References CFunctionInfo::ArgumentInfo().

◆ GetAddress()

const void* GetAddress ( ) const
inline

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

◆ GetTypeInfo()

const CFunctionInfo* GetTypeInfo ( ) const
inline

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

◆ Make() [1/2]

static CFunction Make ( F *  func)
inlinestatic

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

◆ Make() [2/2]

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

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

◆ MakeWithErrorSupport()

static CFunction MakeWithErrorSupport ( F *  func)
inlinestatic

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

◆ ReturnInfo()

const CTypeInfo& ReturnInfo ( ) const
inline

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

References CFunctionInfo::ReturnInfo().


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