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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: runtime/include/dart_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index 9042eff1575d621e354c3bb8e710b8ab2f5addd9..cf7f9e166077bb5071599d4c1bdafe539d623185 100755
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -2870,7 +2870,17 @@ DART_EXPORT Dart_Port Dart_ServiceWaitForLoadPort();
*/
-DART_EXPORT Dart_Handle Dart_Precompile();
+typedef struct {
+ const char* library_uri;
+ const char* class_name;
+ const char* function_name;
+} Dart_QualifiedFunctionName;
+
+
+DART_EXPORT Dart_Handle Dart_Precompile(
+ Dart_QualifiedFunctionName* entry_points);
+
+
DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot(
uint8_t** vm_isolate_snapshot_buffer,
intptr_t* vm_isolate_snapshot_size,

Powered by Google App Engine
This is Rietveld 408576698