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 2858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2869 * ============== | 2869 * ============== |
2870 */ | 2870 */ |
2871 | 2871 |
2872 | 2872 |
2873 typedef struct { | 2873 typedef struct { |
2874 const char* library_uri; | 2874 const char* library_uri; |
2875 const char* class_name; | 2875 const char* class_name; |
2876 const char* function_name; | 2876 const char* function_name; |
2877 } Dart_QualifiedFunctionName; | 2877 } Dart_QualifiedFunctionName; |
2878 | 2878 |
2879 | 2879 |
srdjan
2015/09/29 23:27:47
Please add a comment why 'reset_fields' is necessa
rmacnak
2015/09/30 00:10:29
Done.
| |
2880 DART_EXPORT Dart_Handle Dart_Precompile( | 2880 DART_EXPORT Dart_Handle Dart_Precompile( |
2881 Dart_QualifiedFunctionName entry_points[]); | 2881 Dart_QualifiedFunctionName entry_points[], |
2882 bool reset_fields); | |
2882 | 2883 |
2883 | 2884 |
2884 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( | 2885 DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot( |
2885 uint8_t** vm_isolate_snapshot_buffer, | 2886 uint8_t** vm_isolate_snapshot_buffer, |
2886 intptr_t* vm_isolate_snapshot_size, | 2887 intptr_t* vm_isolate_snapshot_size, |
2887 uint8_t** isolate_snapshot_buffer, | 2888 uint8_t** isolate_snapshot_buffer, |
2888 intptr_t* isolate_snapshot_size, | 2889 intptr_t* isolate_snapshot_size, |
2889 uint8_t** instructions_snapshot_buffer, | 2890 uint8_t** instructions_snapshot_buffer, |
2890 intptr_t* instructions_snapshot_size); | 2891 intptr_t* instructions_snapshot_size); |
2891 | 2892 |
2892 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ | 2893 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ |
OLD | NEW |