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

Unified Diff: runtime/include/dart_api.h

Issue 429013002: Make Dart_LoadLibrary and Dart_LoadSource take line and column offsets like Dart_LoadScript. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 6 years, 5 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
« no previous file with comments | « runtime/bin/vmservice_impl.cc ('k') | runtime/vm/dart_api_impl.cc » ('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 9f56b07d0271d74498b344cc0375267ca8191074..d56241d32cccf1a1a4c682a05ca4e4a13adcd10d 100755
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -2640,7 +2640,9 @@ DART_EXPORT Dart_Handle Dart_LibraryHandleError(Dart_Handle library,
DART_EXPORT Dart_Handle Dart_LoadLibrary(Dart_Handle url,
- Dart_Handle source);
+ Dart_Handle source,
+ intptr_t line_offset,
+ intptr_t column_offset);
/**
* Imports a library into another library, optionally with a prefix.
@@ -2668,7 +2670,9 @@ DART_EXPORT Dart_Handle Dart_LibraryImportLibrary(Dart_Handle library,
*/
DART_EXPORT Dart_Handle Dart_LoadSource(Dart_Handle library,
Dart_Handle url,
- Dart_Handle source);
+ Dart_Handle source,
+ intptr_t line_offset,
+ intptr_t column_offset);
/* TODO(turnidge): Rename to Dart_LibraryLoadSource? */
« no previous file with comments | « runtime/bin/vmservice_impl.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698