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

Unified Diff: runtime/include/dart_api.h

Issue 9657001: Start using Dart_PropagateError in the runtime/bin directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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
« runtime/bin/socket.cc ('K') | « runtime/bin/test_extension_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_api.h
===================================================================
--- runtime/include/dart_api.h (revision 5191)
+++ runtime/include/dart_api.h (working copy)
@@ -1939,10 +1939,14 @@
* error handle is returned.
*/
DART_EXPORT Dart_Handle Dart_GetClass(Dart_Handle library, Dart_Handle name);
+// TODO(turnidge): Consider returning Dart_Null() when the class is
+// not found to distinguish that from a true error case.
DART_EXPORT Dart_Handle Dart_LibraryUrl(Dart_Handle library);
DART_EXPORT Dart_Handle Dart_LookupLibrary(Dart_Handle url);
+// TODO(turnidge): Consider returning Dart_Null() when the library is
+// not found to distinguish that from a true error case.
DART_EXPORT Dart_Handle Dart_LoadLibrary(Dart_Handle url,
Dart_Handle source,
« runtime/bin/socket.cc ('K') | « runtime/bin/test_extension_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698