15Builtin::builtin_lib_props Builtin::builtin_libraries_[] = {
25const int Builtin::num_libs_ =
26 sizeof(Builtin::builtin_libraries_) /
sizeof(Builtin::builtin_lib_props);
29 ASSERT(
static_cast<int>(
id) >= 0);
30 ASSERT(
static_cast<int>(
id) < num_libs_);
32 if (builtin_libraries_[
id].has_natives_) {
44 ASSERT(
static_cast<int>(
id) >= 0);
45 ASSERT(
static_cast<int>(
id) < num_libs_);
static Dart_Handle LoadAndCheckLibrary(BuiltinLibraryId id)
static void SetNativeResolver(BuiltinLibraryId id)
static constexpr const char * kCLILibURL
static constexpr const char * kIOLibURL
static constexpr const char * kHttpLibURL
static Dart_Handle NewString(const char *str)
static constexpr const char * kBuiltinLibURL
struct _Dart_Handle * Dart_Handle
DART_EXPORT bool Dart_IsError(Dart_Handle handle)
DART_EXPORT Dart_Handle Dart_SetNativeResolver(Dart_Handle library, Dart_NativeEntryResolver resolver, Dart_NativeEntrySymbol symbol)
DART_EXPORT Dart_Handle Dart_LookupLibrary(Dart_Handle url)