v8  8.4.371 (node 14.15.5)
V8 is Google's open source JavaScript engine
v8-fast-api-calls.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "v8config.h"
Include dependency graph for v8-fast-api-calls.h:

Go to the source code of this file.

Data Structures

class  CTypeInfo
 
class  CFunctionInfo
 
class  WrapperTraits< T >
 
struct  GetCType< T >
 
struct  EnableIfHasWrapperTypeInfo< T, typename >
 
struct  EnableIfHasWrapperTypeInfo< T, decltype(WrapperTraits< T >::GetTypeInfo(), void())>
 
struct  GetCTypePointerImpl< T, typename >
 
struct  GetCTypePointerImpl< T, typename EnableIfHasWrapperTypeInfo< T >::type >
 
struct  GetCTypePointerPointerImpl< T, typename >
 
struct  GetCTypePointerPointerImpl< T, typename EnableIfHasWrapperTypeInfo< T >::type >
 
struct  GetCType< T ** >
 
struct  GetCType< T * >
 
class  CFunctionInfoImpl< R, Args >
 
class  CFunction
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define SPECIALIZE_GET_C_TYPE_FOR(ctype, ctypeinfo)
 
#define SUPPORTED_C_TYPES(V)
 

Macro Definition Documentation

◆ SPECIALIZE_GET_C_TYPE_FOR

#define SPECIALIZE_GET_C_TYPE_FOR (   ctype,
  ctypeinfo 
)
Value:
template <> \
struct GetCType<ctype> { \
static constexpr CTypeInfo Get() { \
return CTypeInfo::FromCType(CTypeInfo::Type::ctypeinfo); \
} \
};

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

◆ SUPPORTED_C_TYPES

#define SUPPORTED_C_TYPES (   V)
Value:
V(void, kVoid) \
V(bool, kBool) \
V(int32_t, kInt32) \
V(uint32_t, kUint32) \
V(int64_t, kInt64) \
V(uint64_t, kUint64) \
V(float, kFloat32) \
V(double, kFloat64)
#define V(Name)

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