Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
v8::CFunction Class Reference

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

Public Types

enum class  OverloadResolution { kImpossible , kAtRuntime , kAtCompileTime }
 

Public Member Functions

constexpr CFunction ()
 
const CTypeInfoReturnInfo () const
 
const CTypeInfoArgumentInfo (unsigned int index) const
 
unsigned int ArgumentCount () const
 
const void * GetAddress () const
 
CFunctionInfo::Int64Representation GetInt64Representation () const
 
const CFunctionInfoGetTypeInfo () const
 
OverloadResolution GetOverloadResolution (const CFunction *other)
 
 CFunction (const void *address, const CFunctionInfo *type_info)
 

Static Public Member Functions

template<typename F >
static CFunction Make (F *func)
 
template<typename R , typename... Args, typename R_Patch , typename... Args_Patch>
static CFunction Make (R(*func)(Args...), R_Patch(*patching_func)(Args_Patch...))
 

Member Enumeration Documentation

◆ OverloadResolution

Enumerator
kImpossible 
kAtRuntime 
kAtCompileTime 

Constructor & Destructor Documentation

◆ CFunction() [1/2]

constexpr v8::CFunction::CFunction ( )
inlineconstexpr

◆ CFunction() [2/2]

v8::CFunction::CFunction ( const void *  address,
const CFunctionInfo type_info 
)

Member Function Documentation

◆ ArgumentCount()

unsigned int v8::CFunction::ArgumentCount ( ) const
inline
Here is the caller graph for this function:

◆ ArgumentInfo()

const CTypeInfo & v8::CFunction::ArgumentInfo ( unsigned int  index) const
inline
Here is the caller graph for this function:

◆ GetAddress()

const void * v8::CFunction::GetAddress ( ) const
inline

◆ GetInt64Representation()

CFunctionInfo::Int64Representation v8::CFunction::GetInt64Representation ( ) const
inline

◆ GetOverloadResolution()

OverloadResolution v8::CFunction::GetOverloadResolution ( const CFunction other)
inline
Here is the call graph for this function:

◆ GetTypeInfo()

const CFunctionInfo * v8::CFunction::GetTypeInfo ( ) const
inline

◆ Make() [1/2]

template<typename F >
static CFunction v8::CFunction::Make ( F *  func)
inlinestatic

◆ Make() [2/2]

template<typename R , typename... Args, typename R_Patch , typename... Args_Patch>
static CFunction v8::CFunction::Make ( R(*)(Args...)  func,
R_Patch(*)(Args_Patch...)  patching_func 
)
inlinestatic

◆ ReturnInfo()

const CTypeInfo & v8::CFunction::ReturnInfo ( ) const
inline

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