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

Unified Diff: runtime/vm/native_arguments.h

Issue 21319002: - Add following additional methods to the API to make returning values (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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/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: runtime/vm/native_arguments.h
===================================================================
--- runtime/vm/native_arguments.h (revision 25667)
+++ runtime/vm/native_arguments.h (working copy)
@@ -47,9 +47,7 @@
#endif
-void SetReturnValueHelper(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
// function. It is also used to set the return value if any at the slot
@@ -158,9 +156,9 @@
class ArgcBits : public BitField<int, kArgcBit, kArgcSize> {};
class InstanceFunctionBit : public BitField<bool, kInstanceFunctionBit, 1> {};
class ClosureFunctionBit : public BitField<bool, kClosureFunctionBit, 1> {};
+ friend class Api;
friend class BootstrapNatives;
friend class Simulator;
- friend void SetReturnValueHelper(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 | « runtime/vm/dart_api_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698