Index: runtime/include/dart_debugger_api.h |
diff --git a/runtime/include/dart_debugger_api.h b/runtime/include/dart_debugger_api.h |
index 12433b9dc92d5a6387b7e41e391603bed1d885f1..0c9c4049a0efc32a8eff92f24cd8cf88ca3ef69a 100755 |
--- a/runtime/include/dart_debugger_api.h |
+++ b/runtime/include/dart_debugger_api.h |
@@ -600,6 +600,15 @@ DART_EXPORT Dart_Handle Dart_GetLibraryFromId(intptr_t library_id); |
/** |
+ * Returns in \library_id the library id of the given \library. |
+ * |
+ * \return A valid handle if no error occurs during the operation. |
+ */ |
+DART_EXPORT Dart_Handle Dart_LibraryId(Dart_Handle library, |
+ intptr_t* library_id); |
+ |
+ |
+/** |
* Returns an array containing all variable names and values of |
* the given library \library_id. |
* |