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 3218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3229 intptr_t* rodata_blob_size); | 3229 intptr_t* rodata_blob_size); |
3230 | 3230 |
3231 | 3231 |
3232 /** | 3232 /** |
3233 * Returns whether the VM only supports running from precompiled snapshots and | 3233 * Returns whether the VM only supports running from precompiled snapshots and |
3234 * not from any other kind of snapshot or from source (that is, the VM was | 3234 * not from any other kind of snapshot or from source (that is, the VM was |
3235 * compiled with DART_PRECOMPILED_RUNTIME). | 3235 * compiled with DART_PRECOMPILED_RUNTIME). |
3236 */ | 3236 */ |
3237 DART_EXPORT bool Dart_IsPrecompiledRuntime(); | 3237 DART_EXPORT bool Dart_IsPrecompiledRuntime(); |
3238 | 3238 |
3239 | |
3240 /** | |
3241 * Print a stack trace. Used for crash handling. | |
siva
2016/11/22 06:28:32
Print a native stack trace.....
Florian Schneider
2016/11/23 18:27:08
Done.
| |
3242 */ | |
3243 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); | |
3244 | |
3239 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 3245 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
OLD | NEW |