| 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 | 613 |
| 614 #define DART_FLAGS_CURRENT_VERSION (0x00000002) | 614 #define DART_FLAGS_CURRENT_VERSION (0x00000002) |
| 615 | 615 |
| 616 typedef struct { | 616 typedef struct { |
| 617 int32_t version; | 617 int32_t version; |
| 618 bool enable_type_checks; | 618 bool enable_type_checks; |
| 619 bool enable_asserts; | 619 bool enable_asserts; |
| 620 bool enable_error_on_bad_type; | 620 bool enable_error_on_bad_type; |
| 621 bool enable_error_on_bad_override; | 621 bool enable_error_on_bad_override; |
| 622 bool use_field_guards; | 622 bool use_field_guards; |
| 623 bool use_osr; |
| 623 } Dart_IsolateFlags; | 624 } Dart_IsolateFlags; |
| 624 | 625 |
| 625 /** | 626 /** |
| 626 * An isolate creation and initialization callback function. | 627 * An isolate creation and initialization callback function. |
| 627 * | 628 * |
| 628 * This callback, provided by the embedder, is called when the vm | 629 * This callback, provided by the embedder, is called when the vm |
| 629 * needs to create an isolate. The callback should create an isolate | 630 * needs to create an isolate. The callback should create an isolate |
| 630 * by calling Dart_CreateIsolate and load any scripts required for | 631 * by calling Dart_CreateIsolate and load any scripts required for |
| 631 * execution. | 632 * execution. |
| 632 * | 633 * |
| (...skipping 2709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3342 */ | 3343 */ |
| 3343 DART_EXPORT bool Dart_IsPrecompiledRuntime(); | 3344 DART_EXPORT bool Dart_IsPrecompiledRuntime(); |
| 3344 | 3345 |
| 3345 | 3346 |
| 3346 /** | 3347 /** |
| 3347 * Print a native stack trace. Used for crash handling. | 3348 * Print a native stack trace. Used for crash handling. |
| 3348 */ | 3349 */ |
| 3349 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); | 3350 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); |
| 3350 | 3351 |
| 3351 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 3352 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
| OLD | NEW |