#include <stddef.h>
#include <stdint.h>
#include <tuple>
#include <type_traits>
#include "v8-internal.h"
#include "v8.h"
#include "v8config.h"
Go to the source code of this file.
◆ ALL_C_TYPES
Value:
V(void, kVoid) \
V(ApiObject, kApiObject)
#define PRIMITIVE_C_TYPES(V)
Definition at line 589 of file v8-fast-api-calls.h.
◆ DEFINE_TYPE_INFO_TRAITS
#define DEFINE_TYPE_INFO_TRAITS |
( |
|
CType, |
|
|
|
Enum |
|
) |
| |
Value: template <> \
struct CTypeInfoTraits<CTypeInfo::Type::Enum> { \
using ctype = CType; \
};
Definition at line 573 of file v8-fast-api-calls.h.
◆ PRIMITIVE_C_TYPES
#define PRIMITIVE_C_TYPES |
( |
|
V | ) |
|
Value:
V(int32_t, kInt32) \
V(uint32_t, kUint32) \
V(int64_t, kInt64) \
V(uint64_t, kUint64) \
V(float, kFloat32) \
V(double, kFloat64)
Definition at line 579 of file v8-fast-api-calls.h.
◆ SPECIALIZE_GET_TYPE_INFO_HELPER_FOR
#define SPECIALIZE_GET_TYPE_INFO_HELPER_FOR |
( |
|
T, |
|
|
|
Enum |
|
) |
| |
Value: template <> \
struct TypeInfoHelper<T> { \
static constexpr CTypeInfo::Flags Flags() { \
return CTypeInfo::Flags::kNone; \
} \
\
static constexpr CTypeInfo::Type Type() { return CTypeInfo::Type::Enum; } \
static constexpr CTypeInfo::SequenceType SequenceType() { \
return CTypeInfo::SequenceType::kScalar; \
} \
};
Definition at line 557 of file v8-fast-api-calls.h.
◆ SPECIALIZE_GET_TYPE_INFO_HELPER_FOR_TA
#define SPECIALIZE_GET_TYPE_INFO_HELPER_FOR_TA |
( |
|
T, |
|
|
|
Enum |
|
) |
| |
Value: template <> \
struct TypeInfoHelper<const FastApiTypedArray<T>&> { \
static constexpr CTypeInfo::Flags Flags() { \
return CTypeInfo::Flags::kNone; \
} \
\
static constexpr CTypeInfo::Type Type() { return CTypeInfo::Type::Enum; } \
static constexpr CTypeInfo::SequenceType SequenceType() { \
return CTypeInfo::SequenceType::kIsTypedArray; \
} \
};
Definition at line 606 of file v8-fast-api-calls.h.
◆ STATIC_ASSERT_IMPLIES
#define STATIC_ASSERT_IMPLIES |
( |
|
COND, |
|
|
|
ASSERTION, |
|
|
|
MSG |
|
) |
| static_assert(((COND) == 0) || (ASSERTION), MSG) |
◆ TYPED_ARRAY_C_TYPES
#define TYPED_ARRAY_C_TYPES |
( |
|
V | ) |
|
Value:
V(uint32_t, kUint32) \
V(int64_t, kInt64) \
V(uint64_t, kUint64) \
V(float, kFloat32) \
V(double, kFloat64)
Definition at line 619 of file v8-fast-api-calls.h.