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 2701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2712 * ===================== | 2712 * ===================== |
2713 * Scripts and Libraries | 2713 * Scripts and Libraries |
2714 * ===================== | 2714 * ===================== |
2715 */ | 2715 */ |
2716 | 2716 |
2717 typedef enum { | 2717 typedef enum { |
2718 Dart_kCanonicalizeUrl = 0, | 2718 Dart_kCanonicalizeUrl = 0, |
2719 Dart_kScriptTag, | 2719 Dart_kScriptTag, |
2720 Dart_kSourceTag, | 2720 Dart_kSourceTag, |
2721 Dart_kImportTag, | 2721 Dart_kImportTag, |
2722 Dart_kKernelTag, | |
aam
2017/08/18 16:04:20
Can we please add a description of this tag in the
siva
2017/08/18 17:17:51
Done.
| |
2722 } Dart_LibraryTag; | 2723 } Dart_LibraryTag; |
2723 | 2724 |
2724 /** | 2725 /** |
2725 * The library tag handler is a multi-purpose callback provided by the | 2726 * The library tag handler is a multi-purpose callback provided by the |
2726 * embedder to the Dart VM. The embedder implements the tag handler to | 2727 * embedder to the Dart VM. The embedder implements the tag handler to |
2727 * provide the ability to load Dart scripts and imports. | 2728 * provide the ability to load Dart scripts and imports. |
2728 * | 2729 * |
2729 * -- TAGS -- | 2730 * -- TAGS -- |
2730 * | 2731 * |
2731 * Dart_kCanonicalizeUrl | 2732 * Dart_kCanonicalizeUrl |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3351 * compiled with DART_PRECOMPILED_RUNTIME). | 3352 * compiled with DART_PRECOMPILED_RUNTIME). |
3352 */ | 3353 */ |
3353 DART_EXPORT bool Dart_IsPrecompiledRuntime(); | 3354 DART_EXPORT bool Dart_IsPrecompiledRuntime(); |
3354 | 3355 |
3355 /** | 3356 /** |
3356 * Print a native stack trace. Used for crash handling. | 3357 * Print a native stack trace. Used for crash handling. |
3357 */ | 3358 */ |
3358 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); | 3359 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); |
3359 | 3360 |
3360 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 3361 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
OLD | NEW |