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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 227433004: Add runtime and native entry tags (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 7522f73e45c5d82db08c7ea88c5a0bdce76a99dc..070da477df293baf71f5fc942edb021f75b09035 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -4586,7 +4586,8 @@ DART_EXPORT Dart_Handle Dart_LibraryLoadPatch(Dart_Handle library,
DART_EXPORT Dart_Handle Dart_SetNativeResolver(
Dart_Handle library,
- Dart_NativeEntryResolver resolver) {
+ Dart_NativeEntryResolver resolver,
+ Dart_NativeEntryReverseResolver reverse_resolver) {
Isolate* isolate = Isolate::Current();
DARTSCOPE(isolate);
const Library& lib = Api::UnwrapLibraryHandle(isolate, library);
@@ -4594,6 +4595,7 @@ DART_EXPORT Dart_Handle Dart_SetNativeResolver(
RETURN_TYPE_ERROR(isolate, library, Library);
}
lib.set_native_entry_resolver(resolver);
+ lib.set_native_entry_reverse_resolver(reverse_resolver);
return Api::Success();
}

Powered by Google App Engine
This is Rietveld 408576698