| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BIN_DARTUTILS_H_ | 5 #ifndef BIN_DARTUTILS_H_ |
| 6 #define BIN_DARTUTILS_H_ | 6 #define BIN_DARTUTILS_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 #include "include/dart_native_api.h" | 9 #include "include/dart_native_api.h" |
| 10 | 10 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 Dart_Handle url); | 125 Dart_Handle url); |
| 126 static Dart_Handle LoadScript(const char* script_uri, | 126 static Dart_Handle LoadScript(const char* script_uri, |
| 127 Dart_Handle builtin_lib); | 127 Dart_Handle builtin_lib); |
| 128 static Dart_Handle PrepareBuiltinLibrary(Dart_Handle builtin_lib, | 128 static Dart_Handle PrepareBuiltinLibrary(Dart_Handle builtin_lib, |
| 129 Dart_Handle internal_lib, | 129 Dart_Handle internal_lib, |
| 130 bool is_service_isolate, | 130 bool is_service_isolate, |
| 131 bool trace_loading, | 131 bool trace_loading, |
| 132 const char* package_root, | 132 const char* package_root, |
| 133 const char** package_map, | 133 const char** package_map, |
| 134 const char* packages_file); | 134 const char* packages_file); |
| 135 static Dart_Handle PrepareCoreLibrary(Dart_Handle core_lib, | 135 static Dart_Handle PrepareUriLibrary(Dart_Handle uri_lib, |
| 136 Dart_Handle builtin_lib, | 136 Dart_Handle builtin_lib, |
| 137 bool is_service_isolate); | 137 bool is_service_isolate); |
| 138 static Dart_Handle PrepareAsyncLibrary(Dart_Handle async_lib, | 138 static Dart_Handle PrepareAsyncLibrary(Dart_Handle async_lib, |
| 139 Dart_Handle isolate_lib); | 139 Dart_Handle isolate_lib); |
| 140 static Dart_Handle PrepareIOLibrary(Dart_Handle io_lib); | 140 static Dart_Handle PrepareIOLibrary(Dart_Handle io_lib); |
| 141 static Dart_Handle PrepareIsolateLibrary(Dart_Handle isolate_lib); | 141 static Dart_Handle PrepareIsolateLibrary(Dart_Handle isolate_lib); |
| 142 static Dart_Handle PrepareForScriptLoading(const char* package_root, | 142 static Dart_Handle PrepareForScriptLoading(const char* package_root, |
| 143 const char** package_map, | 143 const char** package_map, |
| 144 const char* packages_file, | 144 const char* packages_file, |
| 145 bool is_service_isolate, | 145 bool is_service_isolate, |
| 146 bool trace_loading, | 146 bool trace_loading, |
| 147 Dart_Handle builtin_lib); | 147 Dart_Handle builtin_lib); |
| 148 static Dart_Handle SetupIOLibrary(const char* script_uri); | 148 static Dart_Handle SetupIOLibrary(const char* script_uri); |
| 149 | 149 |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 | 586 |
| 587 ~ScopedBlockingCall() { | 587 ~ScopedBlockingCall() { |
| 588 Dart_IsolateUnblocked(); | 588 Dart_IsolateUnblocked(); |
| 589 } | 589 } |
| 590 }; | 590 }; |
| 591 | 591 |
| 592 } // namespace bin | 592 } // namespace bin |
| 593 } // namespace dart | 593 } // namespace dart |
| 594 | 594 |
| 595 #endif // BIN_DARTUTILS_H_ | 595 #endif // BIN_DARTUTILS_H_ |
| OLD | NEW |