v8
8.4.371 (node 14.15.5)
V8 is Google's open source JavaScript engine
|
#include <v8-fast-api-calls.h>
Public Types | |
enum class | Type : char { kVoid , kBool , kInt32 , kUint32 , kInt64 , kUint64 , kFloat32 , kFloat64 , kUnwrappedApiObject } |
enum class | ArgFlags : uint8_t { kNone = 0 , kIsArrayBit = 1 << 0 } |
Public Member Functions | |
const void * | GetWrapperInfo () const |
constexpr Type | GetType () const |
constexpr bool | IsArray () const |
Static Public Member Functions | |
static CTypeInfo | FromWrapperType (const void *wrapper_type_info, ArgFlags flags=ArgFlags::kNone) |
static constexpr CTypeInfo | FromCType (Type ctype, ArgFlags flags=ArgFlags::kNone) |
Definition at line 172 of file v8-fast-api-calls.h.
|
strong |
Enumerator | |
---|---|
kNone | |
kIsArrayBit |
Definition at line 186 of file v8-fast-api-calls.h.
|
strong |
Enumerator | |
---|---|
kVoid | |
kBool | |
kInt32 | |
kUint32 | |
kInt64 | |
kUint64 | |
kFloat32 | |
kFloat64 | |
kUnwrappedApiObject |
Definition at line 174 of file v8-fast-api-calls.h.
|
inlinestaticconstexpr |
Definition at line 206 of file v8-fast-api-calls.h.
Referenced by GetCTypePointerImpl< T, typename >::Get().
|
inlinestatic |
Definition at line 191 of file v8-fast-api-calls.h.
Referenced by GetCTypePointerImpl< T, typename EnableIfHasWrapperTypeInfo< T >::type >::Get(), and GetCTypePointerPointerImpl< T, typename EnableIfHasWrapperTypeInfo< T >::type >::Get().
|
inlineconstexpr |
Definition at line 216 of file v8-fast-api-calls.h.
References CTypeInfo::kUnwrappedApiObject.
const void* GetWrapperInfo | ( | ) | const |
|
inlineconstexpr |
Definition at line 223 of file v8-fast-api-calls.h.
References CTypeInfo::kIsArrayBit.