18#define BUILTIN_NATIVE_LIST(V) V(Builtin_PrintString, 1)
30 bool* auto_setup_scope) {
37 ASSERT(auto_setup_scope !=
nullptr);
38 *auto_setup_scope =
true;
39 int num_entries =
sizeof(
BuiltinEntries) /
sizeof(
struct NativeEntries);
40 for (
int i = 0;
i < num_entries;
i++) {
51 int num_entries =
sizeof(
BuiltinEntries) /
sizeof(
struct NativeEntries);
52 for (
int i = 0;
i < num_entries;
i++) {
55 return reinterpret_cast<const uint8_t*
>(entry->name_);
66 uint8_t* chars =
nullptr;
76 fwrite(chars,
sizeof(*chars),
length, stdout);
#define FUNCTION_NAME(name)
struct _Dart_Handle * Dart_Handle
struct _Dart_NativeArguments * Dart_NativeArguments
void(* Dart_NativeFunction)(Dart_NativeArguments arguments)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
#define REGISTER_FUNCTION(name, count)
#define DECLARE_FUNCTION(name, count)
BUILTIN_NATIVE_LIST(DECLARE_FUNCTION)
static struct dart::bin::NativeEntries BuiltinEntries[]
const uint8_t * IONativeSymbol(Dart_NativeFunction nf)
Dart_NativeFunction IONativeLookup(Dart_Handle name, int argument_count, bool *auto_setup_scope)
void FUNCTION_NAME() Builtin_PrintString(Dart_NativeArguments args)
DART_EXPORT Dart_Handle Dart_StringToUTF8(Dart_Handle str, uint8_t **utf8_array, intptr_t *length)
DART_EXPORT void Dart_EnterScope()
DART_EXPORT void Dart_PropagateError(Dart_Handle handle)
DART_EXPORT const char * Dart_GetError(Dart_Handle handle)
DART_EXPORT bool Dart_IsError(Dart_Handle handle)
DART_EXPORT Dart_Handle Dart_GetNativeArgument(Dart_NativeArguments args, int index)
const char *const function_name
DART_EXPORT Dart_Handle Dart_StringToCString(Dart_Handle object, const char **cstr)
Dart_NativeFunction function_