5#if !defined(DART_IO_DISABLED)
21 ASSERT(namespc !=
nullptr);
30 bool isinstance =
false;
57 const char* namespc_path;
71 if (namespc ==
nullptr) {
77 reinterpret_cast<intptr_t
>(namespc));
96 ASSERT(namespc !=
nullptr);
104 Namespace::GetNativeNamespaceArgument(
args, index, &
namespc);
126 reinterpret_cast<intptr_t*
>(
namespc));
#define DEBUG_ASSERT(cond)
#define FUNCTION_NAME(name)
static Dart_Handle NewDartOSError()
static Dart_Handle NewDartArgumentError(const char *message)
static Dart_Handle NewInternalError(const char *message)
static Dart_Handle GetDartType(const char *library_url, const char *class_name)
static bool IsDefault(Namespace *namespc)
static Namespace * Create(intptr_t namespc)
static Namespace * GetNamespace(Dart_NativeArguments args, intptr_t index)
NamespaceImpl * namespc() const
static intptr_t Default()
struct _Dart_Handle * Dart_Handle
struct _Dart_NativeArguments * Dart_NativeArguments
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
static void ReleaseNamespace(void *isolate_callback_data, void *peer)
static constexpr int kNamespaceNativeFieldIndex
void FUNCTION_NAME() Namespace_GetDefault(Dart_NativeArguments args)
void FUNCTION_NAME() Namespace_Create(Dart_NativeArguments args)
void FUNCTION_NAME() Namespace_GetPointer(Dart_NativeArguments args)
DART_EXPORT Dart_Handle Dart_GetNativeInstanceField(Dart_Handle obj, int index, intptr_t *value)
DART_EXPORT Dart_Handle Dart_NewUnhandledExceptionError(Dart_Handle exception)
DART_EXPORT void Dart_PropagateError(Dart_Handle handle)
DART_EXPORT Dart_FinalizableHandle Dart_NewFinalizableHandle(Dart_Handle object, void *peer, intptr_t external_allocation_size, Dart_HandleFinalizer callback)
DART_EXPORT void Dart_SetReturnValue(Dart_NativeArguments args, Dart_Handle retval)
DART_EXPORT bool Dart_IsError(Dart_Handle handle)
DART_EXPORT Dart_Handle Dart_SetNativeInstanceField(Dart_Handle obj, int index, intptr_t value)
DART_EXPORT void Dart_SetIntegerReturnValue(Dart_NativeArguments args, int64_t retval)
DART_EXPORT Dart_Handle Dart_ObjectIsType(Dart_Handle object, Dart_Handle type, bool *value)
DART_EXPORT Dart_Handle Dart_GetNativeArgument(Dart_NativeArguments args, int index)
DART_EXPORT Dart_Handle Dart_ThrowException(Dart_Handle exception)
DART_EXPORT bool Dart_IsInteger(Dart_Handle object)
DART_EXPORT Dart_Handle Dart_Null()
DART_EXPORT bool Dart_IsString(Dart_Handle object)
DART_EXPORT Dart_Handle Dart_StringToCString(Dart_Handle object, const char **cstr)
DART_EXPORT Dart_Handle Dart_IntegerToInt64(Dart_Handle integer, int64_t *value)