Go to the source code of this file.
◆ DECLARE_COBJECT_CONSTRUCTORS
#define DECLARE_COBJECT_CONSTRUCTORS |
( |
|
t | ) |
|
Value: explicit CObject##t(
Dart_CObject* cobject) : CObject(cobject) { \
ASSERT(
type() == Dart_CObject_k##t); \
cobject_ = cobject; \
} \
explicit CObject##t(CObject* cobject) : CObject() { \
ASSERT(cobject != nullptr); \
ASSERT(cobject->type() == Dart_CObject_k##t); \
cobject_ = cobject->AsApiCObject(); \
}
Definition at line 423 of file dartutils.h.
◆ DECLARE_COBJECT_EXTERNAL_TYPED_DATA_CONSTRUCTORS
#define DECLARE_COBJECT_EXTERNAL_TYPED_DATA_CONSTRUCTORS |
( |
|
t | ) |
|
Value:
: CObject(cobject) { \
ASSERT(byte_array_type() == Dart_TypedData_k##t); \
cobject_ = cobject; \
} \
explicit CObjectExternal##t##Array(CObject* cobject) : CObject() { \
ASSERT(cobject != nullptr); \
ASSERT(cobject->byte_array_type() == Dart_TypedData_k##t); \
cobject_ = cobject->AsApiCObject(); \
}
@ Dart_CObject_kExternalTypedData
Definition at line 447 of file dartutils.h.
◆ DECLARE_COBJECT_TYPED_DATA_CONSTRUCTORS
#define DECLARE_COBJECT_TYPED_DATA_CONSTRUCTORS |
( |
|
t | ) |
|
Value: explicit CObject##t##Array(
Dart_CObject* cobject) : CObject(cobject) { \
ASSERT(byte_array_type() == Dart_TypedData_k##t); \
cobject_ = cobject; \
} \
explicit CObject##t##Array(CObject* cobject) : CObject() { \
ASSERT(cobject != nullptr); \
ASSERT(cobject->byte_array_type() == Dart_TypedData_k##t); \
cobject_ = cobject->AsApiCObject(); \
}
@ Dart_CObject_kTypedData
Definition at line 434 of file dartutils.h.