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 3121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3132 DART_EXPORT Dart_KernelCompilationResult | 3132 DART_EXPORT Dart_KernelCompilationResult |
3133 Dart_CompileToKernel(const char* script_uri); | 3133 Dart_CompileToKernel(const char* script_uri); |
3134 | 3134 |
3135 typedef struct { | 3135 typedef struct { |
3136 const char* uri; | 3136 const char* uri; |
3137 const char* source; | 3137 const char* source; |
3138 } Dart_SourceFile; | 3138 } Dart_SourceFile; |
3139 DART_EXPORT Dart_KernelCompilationResult | 3139 DART_EXPORT Dart_KernelCompilationResult |
3140 Dart_CompileSourcesToKernel(const char* script_uri, | 3140 Dart_CompileSourcesToKernel(const char* script_uri, |
3141 int source_files_count, | 3141 int source_files_count, |
3142 Dart_SourceFile source_files[], | 3142 Dart_SourceFile source_files[]); |
3143 bool incremental_compile); | |
3144 | 3143 |
3145 #define DART_KERNEL_ISOLATE_NAME "kernel-service" | 3144 #define DART_KERNEL_ISOLATE_NAME "kernel-service" |
3146 | 3145 |
3147 /* | 3146 /* |
3148 * ======= | 3147 * ======= |
3149 * Service | 3148 * Service |
3150 * ======= | 3149 * ======= |
3151 */ | 3150 */ |
3152 | 3151 |
3153 #define DART_VM_SERVICE_ISOLATE_NAME "vm-service" | 3152 #define DART_VM_SERVICE_ISOLATE_NAME "vm-service" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3351 * compiled with DART_PRECOMPILED_RUNTIME). | 3350 * compiled with DART_PRECOMPILED_RUNTIME). |
3352 */ | 3351 */ |
3353 DART_EXPORT bool Dart_IsPrecompiledRuntime(); | 3352 DART_EXPORT bool Dart_IsPrecompiledRuntime(); |
3354 | 3353 |
3355 /** | 3354 /** |
3356 * Print a native stack trace. Used for crash handling. | 3355 * Print a native stack trace. Used for crash handling. |
3357 */ | 3356 */ |
3358 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); | 3357 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); |
3359 | 3358 |
3360 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 3359 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
OLD | NEW |