| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef TONIC_DART_BUILTIN_H_ |
| #define TONIC_DART_BUILTIN_H_ |
| #include "dart/runtime/include/dart_api.h" |
| Dart_NativeFunction function; |
| DartBuiltin(const Natives* natives, size_t count); |
| Dart_NativeFunction Resolver(Dart_Handle name, |
| bool* auto_setup_scope) const; |
| const uint8_t* Symbolizer(Dart_NativeFunction native_function) const; |
| // Helper around Dart_LookupLibrary. |
| static Dart_Handle LookupLibrary(const char* name); |
| DISALLOW_COPY_AND_ASSIGN(DartBuiltin); |
| #endif // TONIC_DART_BUILTIN_H_ |