16 fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, "Check failed: " #X); \
20#define ENSURE_VALID(X) ENSURE(!Dart_IsError(X))
35 for (
int i = 0;
i < 20;
i++) {
51 for (
int i = 0;
i < 20;
i++) {
81 bool* auto_setup_scope) {
84 ENSURE(auto_setup_scope != NULL);
85 *auto_setup_scope =
true;
87 const char* name_str = NULL;
90 if (strcmp(name_str,
"Function1Uint8") == 0 && num_of_arguments == 1) {
92 }
else if (strcmp(name_str,
"Function20Int64") == 0 &&
93 num_of_arguments == 20) {
95 }
else if (strcmp(name_str,
"Function1Double") == 0 &&
96 num_of_arguments == 1) {
98 }
else if (strcmp(name_str,
"Function20Double") == 0 &&
99 num_of_arguments == 20) {
101 }
else if (strcmp(name_str,
"Function1Handle") == 0 &&
102 num_of_arguments == 1) {
104 }
else if (strcmp(name_str,
"Function20Handle") == 0 &&
105 num_of_arguments == 20) {
void * Function1Handle(void *a)
uint8_t Function1Uint8(uint8_t x)
void * Function20Handle(void *a, void *b, void *c, void *d, void *e, void *f, void *g, void *h, void *i, void *j, void *k, void *l, void *m, void *n, void *o, void *p, void *q, void *r, void *s, void *t)
int64_t Function20Int64(int64_t a, int64_t b, int64_t c, int64_t d, int64_t e, int64_t f, int64_t g, int64_t h, int64_t i, int64_t j, int64_t k, int64_t l, int64_t m, int64_t n, int64_t o, int64_t p, int64_t q, int64_t r, int64_t s, int64_t t)
double Function1Double(double x)
double Function20Double(double a, double b, double c, double d, double e, double f, double g, double h, double i, double j, double k, double l, double m, double n, double o, double p, double q, double r, double s, double t)
DART_EXPORT Dart_Handle GetRootLibraryUrl()
DART_EXPORT void SetNativeResolverForTest(Dart_Handle url)
Dart_NativeFunction NativeEntryResolver(Dart_Handle name, int num_of_arguments, bool *auto_setup_scope)
DART_EXPORT void Dart_SetIntegerReturnValue(Dart_NativeArguments args, int64_t retval)
DART_EXPORT Dart_Handle Dart_SetNativeResolver(Dart_Handle library, Dart_NativeEntryResolver resolver, Dart_NativeEntrySymbol symbol)
struct _Dart_Handle * Dart_Handle
DART_EXPORT void Dart_SetDoubleReturnValue(Dart_NativeArguments args, double retval)
DART_EXPORT Dart_Handle Dart_GetNativeArgument(Dart_NativeArguments args, int index)
DART_EXPORT Dart_Handle Dart_LookupLibrary(Dart_Handle url)
struct _Dart_NativeArguments * Dart_NativeArguments
DART_EXPORT Dart_Handle Dart_GetNativeIntegerArgument(Dart_NativeArguments args, int index, int64_t *value)
DART_EXPORT void Dart_SetReturnValue(Dart_NativeArguments args, Dart_Handle retval)
DART_EXPORT Dart_Handle Dart_StringToCString(Dart_Handle str, const char **cstr)
void(* Dart_NativeFunction)(Dart_NativeArguments arguments)
DART_EXPORT Dart_Handle Dart_LibraryUrl(Dart_Handle library)
DART_EXPORT bool Dart_IsString(Dart_Handle object)
DART_EXPORT Dart_Handle Dart_RootLibrary(void)
DART_EXPORT Dart_Handle Dart_GetNativeDoubleArgument(Dart_NativeArguments args, int index, double *value)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
DEF_SWITCHES_START aot vmservice shared library name