| 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 2852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2863 DART_EXPORT Dart_Port Dart_ServiceWaitForLoadPort(); | 2863 DART_EXPORT Dart_Port Dart_ServiceWaitForLoadPort(); |
| 2864 | 2864 |
| 2865 | 2865 |
| 2866 /* | 2866 /* |
| 2867 * ============== | 2867 * ============== |
| 2868 * Precompilation | 2868 * Precompilation |
| 2869 * ============== | 2869 * ============== |
| 2870 */ | 2870 */ |
| 2871 | 2871 |
| 2872 | 2872 |
| 2873 DART_EXPORT Dart_Handle Dart_Precompile(); | 2873 typedef struct { |
| 2874 const char* library_uri; |
| 2875 const char* class_name; |
| 2876 const char* function_name; |
| 2877 } Dart_QualifiedFunctionName; |
| 2878 |
| 2879 |
| 2880 DART_EXPORT Dart_Handle Dart_Precompile( |
| 2881 Dart_QualifiedFunctionName entry_points[]); |
| 2882 |
| 2883 |
| 2874 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( | 2884 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( |
| 2875 uint8_t** vm_isolate_snapshot_buffer, | 2885 uint8_t** vm_isolate_snapshot_buffer, |
| 2876 intptr_t* vm_isolate_snapshot_size, | 2886 intptr_t* vm_isolate_snapshot_size, |
| 2877 uint8_t** isolate_snapshot_buffer, | 2887 uint8_t** isolate_snapshot_buffer, |
| 2878 intptr_t* isolate_snapshot_size, | 2888 intptr_t* isolate_snapshot_size, |
| 2879 uint8_t** instructions_snapshot_buffer, | 2889 uint8_t** instructions_snapshot_buffer, |
| 2880 intptr_t* instructions_snapshot_size); | 2890 intptr_t* instructions_snapshot_size); |
| 2881 | 2891 |
| 2882 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 2892 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
| OLD | NEW |