Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: runtime/include/dart_api.h

Issue 1359963002: Let the embedder provide entry points to Dart_Precompile. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 */
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698