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