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

Unified Diff: vm/native_arguments.h

Issue 10907012: Use SetReturnUnsafe in dart_api_impl.cc. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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 | « vm/dart_api_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/native_arguments.h
===================================================================
--- vm/native_arguments.h (revision 11636)
+++ vm/native_arguments.h (working copy)
@@ -39,6 +39,9 @@
#endif
+DART_EXTERN_C {
+ void Dart_SetReturnValue(Dart_NativeArguments, Dart_Handle);
+}
// Class NativeArguments is used to access arguments passed in from
// generated dart code to a runtime function or a dart library native
@@ -78,6 +81,7 @@
private:
friend class BootstrapNatives;
+ friend void Dart_SetReturnValue(Dart_NativeArguments, Dart_Handle);
// Since this function is passed a RawObject directly, we need to be
// exceedingly careful when we use it. If there are any other side
« no previous file with comments | « vm/dart_api_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698