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

Unified Diff: vm/native_entry_test.h

Issue 10874072: Use the return value of vm native methods to set the return value, (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
Index: vm/native_entry_test.h
===================================================================
--- vm/native_entry_test.h (revision 11528)
+++ vm/native_entry_test.h (working copy)
@@ -5,24 +5,14 @@
#ifndef VM_NATIVE_ENTRY_TEST_H_
#define VM_NATIVE_ENTRY_TEST_H_
-#include "vm/native_entry.h"
-
#include "include/dart_api.h"
namespace dart {
-// Forward declarations.
-class String;
+void TestSmiSub(Dart_NativeArguments args);
+void TestSmiSum(Dart_NativeArguments args);
+void TestStaticCallPatching(Dart_NativeArguments args);
-
-DECLARE_NATIVE_ENTRY(TestSmiSub, 2);
-DECLARE_NATIVE_ENTRY(TestSmiSum, 6);
-DECLARE_NATIVE_ENTRY(TestStaticCallPatching, 0);
-
-// Helper function for looking up native test functions.
-extern Dart_NativeFunction NativeTestEntry_Lookup(const String& name,
- int argument_count);
-
} // namespace dart
#endif // VM_NATIVE_ENTRY_TEST_H_
« vm/bootstrap_natives.h ('K') | « vm/native_entry.h ('k') | vm/native_entry_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698