Index: vm/bootstrap_natives.h |
=================================================================== |
--- vm/bootstrap_natives.h (revision 11528) |
+++ vm/bootstrap_natives.h (working copy) |
@@ -196,8 +196,18 @@ |
V(WeakProperty_getValue, 1) \ |
V(WeakProperty_setValue, 2) \ |
-BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) |
+class BootstrapNatives { |
Ivan Posva
2012/08/30 00:52:39
: public AllStatic
|
+ public: |
+ static Dart_NativeFunction Lookup(Dart_Handle name, int argument_count); |
+#define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \ |
+ static void DN_##name(Dart_NativeArguments args); |
+ |
+ BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
+ |
+#undef DECLARE_BOOTSTRAP_NATIVE |
+}; |
+ |
} // namespace dart |
#endif // VM_BOOTSTRAP_NATIVES_H_ |