#include <stdio.h>
#include <stdlib.h>
#include "include/dart_api.h"
#include "platform/assert.h"
#include "platform/globals.h"
Go to the source code of this file.
◆ DECLARE_FUNCTION
Definition at line 21 of file builtin.h.
23 {
24 public:
25
26
27 enum BuiltinLibraryId {
28 kInvalidLibrary = -1,
29 kBuiltinLibrary = 0,
30 kIOLibrary,
31 kHttpLibrary,
32 kCLILibrary,
33 };
34
35
36 static void SetNativeResolver(BuiltinLibraryId id);
37
38
39
40 static Dart_Handle LoadAndCheckLibrary(BuiltinLibraryId
id);
41
42 private:
43
46 bool* auto_setup_scope);
47
49
50 static const int num_libs_;
51
52 typedef struct {
53 const char* url_;
54 bool has_natives_;
55 } builtin_lib_props;
56 static builtin_lib_props builtin_libraries_[];
57
60};
61
62}
63}
64
65#endif
struct _Dart_Handle * Dart_Handle
void(* Dart_NativeFunction)(Dart_NativeArguments arguments)
◆ FUNCTION_NAME
#define FUNCTION_NAME |
( |
|
name | ) |
Builtin_##name |
◆ REGISTER_FUNCTION