Chromium Code Reviews| 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 |