OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 * Copyright (c) 2012, 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_API_H_ | 7 #ifndef RUNTIME_INCLUDE_DART_API_H_ |
8 #define RUNTIME_INCLUDE_DART_API_H_ | 8 #define RUNTIME_INCLUDE_DART_API_H_ |
9 | 9 |
10 /** \mainpage Dart Embedding API Reference | 10 /** \mainpage Dart Embedding API Reference |
(...skipping 3085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3096 DART_EXPORT Dart_Handle Dart_FinalizeLoading(bool complete_futures); | 3096 DART_EXPORT Dart_Handle Dart_FinalizeLoading(bool complete_futures); |
3097 | 3097 |
3098 | 3098 |
3099 /* | 3099 /* |
3100 * ===== | 3100 * ===== |
3101 * Peers | 3101 * Peers |
3102 * ===== | 3102 * ===== |
3103 */ | 3103 */ |
3104 | 3104 |
3105 /** | 3105 /** |
3106 * The peer field is a lazily allocated field intendend for storage of | 3106 * The peer field is a lazily allocated field intended for storage of |
3107 * an uncommonly used values. Most instances types can have a peer | 3107 * an uncommonly used values. Most instances types can have a peer |
3108 * field allocated. The exceptions are subtypes of Null, num, and | 3108 * field allocated. The exceptions are subtypes of Null, num, and |
3109 * bool. | 3109 * bool. |
3110 */ | 3110 */ |
3111 | 3111 |
3112 /** | 3112 /** |
3113 * Returns the value of peer field of 'object' in 'peer'. | 3113 * Returns the value of peer field of 'object' in 'peer'. |
3114 * | 3114 * |
3115 * \param object An object. | 3115 * \param object An object. |
3116 * \param peer An out parameter that returns the value of the peer | 3116 * \param peer An out parameter that returns the value of the peer |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3392 */ | 3392 */ |
3393 DART_EXPORT bool Dart_IsPrecompiledRuntime(); | 3393 DART_EXPORT bool Dart_IsPrecompiledRuntime(); |
3394 | 3394 |
3395 | 3395 |
3396 /** | 3396 /** |
3397 * Print a native stack trace. Used for crash handling. | 3397 * Print a native stack trace. Used for crash handling. |
3398 */ | 3398 */ |
3399 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); | 3399 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); |
3400 | 3400 |
3401 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 3401 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
OLD | NEW |