5#ifndef RUNTIME_VM_DART_API_MESSAGE_H_
6#define RUNTIME_VM_DART_API_MESSAGE_H_
26 return !raw_obj->IsHeapObject() || (raw_obj ==
Object::null());
30 if (!raw_obj->IsHeapObject()) {
31 ConvertSmi(
static_cast<const SmiPtr
>(raw_obj), c_obj);
41 static void ConvertSmi(
const SmiPtr raw_smi,
Dart_CObject* c_obj) {
42 ASSERT(!raw_smi->IsHeapObject());
static bool Convert(const ObjectPtr raw_obj, Dart_CObject *c_obj)
static bool CanConvert(const ObjectPtr raw_obj)
static bool IsInt(intptr_t N, T value)
union _Dart_CObject::@86 value