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

Unified Diff: runtime/include/dart_api.h

Issue 2475523002: Reload native extensions when starting from a snapshot. (Closed)
Patch Set: . Created 4 years, 1 month 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
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/observatory/lib/src/elements/library_view.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index 105bb66a4b7db4d7fef8912b3bc94a2636c012d5..df90d76ac3a1dfa146d27a82399e5e1ebf66b61b 100755
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -2940,6 +2940,19 @@ DART_EXPORT Dart_Handle Dart_LibraryImportLibrary(Dart_Handle library,
Dart_Handle import,
Dart_Handle prefix);
+
+/**
+ * Returns a list where each element 2n is an importing library and each element
Cutch 2016/11/07 22:24:16 How about: Returns a flattened list of pairs. The
rmacnak 2016/11/08 00:17:32 Done.
+ * 2n+1 is an imported library for each import in the isolate of a library whose
+ * URI's scheme is [scheme].
+ *
+ * Requires there to be a current isolate.
+ *
+ * \return A handle to a list of flattened pairs of importer-importee.
+ */
+DART_EXPORT Dart_Handle Dart_GetImportsOfScheme(Dart_Handle scheme);
+
+
/**
* Called by the embedder to provide the source for a "part of"
* directive. This function should be called in response to a
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/observatory/lib/src/elements/library_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698