| 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 INCLUDE_DART_API_H_ | 7 #ifndef INCLUDE_DART_API_H_ |
| 8 #define INCLUDE_DART_API_H_ | 8 #define INCLUDE_DART_API_H_ |
| 9 | 9 |
| 10 /** \mainpage Dart Embedding API Reference | 10 /** \mainpage Dart Embedding API Reference |
| (...skipping 2939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2950 * the same process. | 2950 * the same process. |
| 2951 * | 2951 * |
| 2952 * \return An error handle if a compilation error or runtime error running const | 2952 * \return An error handle if a compilation error or runtime error running const |
| 2953 * constructors was encountered. | 2953 * constructors was encountered. |
| 2954 */ | 2954 */ |
| 2955 DART_EXPORT Dart_Handle Dart_Precompile( | 2955 DART_EXPORT Dart_Handle Dart_Precompile( |
| 2956 Dart_QualifiedFunctionName entry_points[], | 2956 Dart_QualifiedFunctionName entry_points[], |
| 2957 bool reset_fields); | 2957 bool reset_fields); |
| 2958 | 2958 |
| 2959 | 2959 |
| 2960 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( | 2960 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshotAssembly( |
| 2961 uint8_t** vm_isolate_snapshot_buffer, | 2961 uint8_t** vm_isolate_snapshot_buffer, |
| 2962 intptr_t* vm_isolate_snapshot_size, | 2962 intptr_t* vm_isolate_snapshot_size, |
| 2963 uint8_t** isolate_snapshot_buffer, | 2963 uint8_t** isolate_snapshot_buffer, |
| 2964 intptr_t* isolate_snapshot_size, | 2964 intptr_t* isolate_snapshot_size, |
| 2965 uint8_t** instructions_snapshot_buffer, | 2965 uint8_t** instructions_assembly_buffer, |
| 2966 intptr_t* instructions_snapshot_size); | 2966 intptr_t* instructions_assembly_size); |
| 2967 |
| 2968 |
| 2969 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshotBlob( |
| 2970 uint8_t** vm_isolate_snapshot_buffer, |
| 2971 intptr_t* vm_isolate_snapshot_size, |
| 2972 uint8_t** isolate_snapshot_buffer, |
| 2973 intptr_t* isolate_snapshot_size, |
| 2974 uint8_t** instructions_blob_buffer, |
| 2975 intptr_t* instructions_blob_size, |
| 2976 uint8_t** rodata_blob_buffer, |
| 2977 intptr_t* rodata_blob_size); |
| 2967 | 2978 |
| 2968 | 2979 |
| 2969 DART_EXPORT bool Dart_IsRunningPrecompiledCode(); | 2980 DART_EXPORT bool Dart_IsRunningPrecompiledCode(); |
| 2970 | 2981 |
| 2971 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 2982 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
| OLD | NEW |