OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 * Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
3 * for details. All rights reserved. Use of this source code is governed by a | 3 * for details. All rights reserved. Use of this source code is governed by a |
4 * BSD-style license that can be found in the LICENSE file. | 4 * BSD-style license that can be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #ifndef RUNTIME_INCLUDE_DART_NATIVE_API_H_ | 7 #ifndef RUNTIME_INCLUDE_DART_NATIVE_API_H_ |
8 #define RUNTIME_INCLUDE_DART_NATIVE_API_H_ | 8 #define RUNTIME_INCLUDE_DART_NATIVE_API_H_ |
9 | 9 |
10 #include "dart_api.h" | 10 #include "dart_api.h" |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 * Closes the native port with the given id. | 148 * Closes the native port with the given id. |
149 * | 149 * |
150 * The port must have been allocated by a call to Dart_NewNativePort. | 150 * The port must have been allocated by a call to Dart_NewNativePort. |
151 * | 151 * |
152 * \param native_port_id The id of the native port to close. | 152 * \param native_port_id The id of the native port to close. |
153 * | 153 * |
154 * \return Returns true if the port was closed successfully. | 154 * \return Returns true if the port was closed successfully. |
155 */ | 155 */ |
156 DART_EXPORT bool Dart_CloseNativePort(Dart_Port native_port_id); | 156 DART_EXPORT bool Dart_CloseNativePort(Dart_Port native_port_id); |
157 | 157 |
158 | |
159 /* | 158 /* |
160 * ================== | 159 * ================== |
161 * Verification Tools | 160 * Verification Tools |
162 * ================== | 161 * ================== |
163 */ | 162 */ |
164 | 163 |
165 /** | 164 /** |
166 * Forces all loaded classes and functions to be compiled eagerly in | 165 * Forces all loaded classes and functions to be compiled eagerly in |
167 * the current isolate.. | 166 * the current isolate.. |
168 * | 167 * |
169 * TODO(turnidge): Document. | 168 * TODO(turnidge): Document. |
170 */ | 169 */ |
171 DART_EXPORT Dart_Handle Dart_CompileAll(); | 170 DART_EXPORT Dart_Handle Dart_CompileAll(); |
172 | 171 |
173 /** | 172 /** |
174 * Parses all loaded functions in the current isolate.. | 173 * Parses all loaded functions in the current isolate.. |
175 * | 174 * |
176 */ | 175 */ |
177 DART_EXPORT Dart_Handle Dart_ParseAll(); | 176 DART_EXPORT Dart_Handle Dart_ParseAll(); |
178 | 177 |
179 #endif /* INCLUDE_DART_NATIVE_API_H_ */ /* NOLINT */ | 178 #endif /* INCLUDE_DART_NATIVE_API_H_ */ /* NOLINT */ |
OLD | NEW |