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); |
3143 | 3144 |
3144 #define DART_KERNEL_ISOLATE_NAME "kernel-service" | 3145 #define DART_KERNEL_ISOLATE_NAME "kernel-service" |
3145 | 3146 |
3146 /* | 3147 /* |
3147 * ======= | 3148 * ======= |
3148 * Service | 3149 * Service |
3149 * ======= | 3150 * ======= |
3150 */ | 3151 */ |
3151 | 3152 |
3152 #define DART_VM_SERVICE_ISOLATE_NAME "vm-service" | 3153 #define DART_VM_SERVICE_ISOLATE_NAME "vm-service" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3350 * compiled with DART_PRECOMPILED_RUNTIME). | 3351 * compiled with DART_PRECOMPILED_RUNTIME). |
3351 */ | 3352 */ |
3352 DART_EXPORT bool Dart_IsPrecompiledRuntime(); | 3353 DART_EXPORT bool Dart_IsPrecompiledRuntime(); |
3353 | 3354 |
3354 /** | 3355 /** |
3355 * Print a native stack trace. Used for crash handling. | 3356 * Print a native stack trace. Used for crash handling. |
3356 */ | 3357 */ |
3357 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); | 3358 DART_EXPORT void Dart_DumpNativeStackTrace(void* context); |
3358 | 3359 |
3359 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 3360 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
OLD | NEW |