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

Unified Diff: bin/builtin.h

Issue 8673002: - Refactor the isolate callback mechanism to also include creation of the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 1 month 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 | « bin/bin.gypi ('k') | bin/builtin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/builtin.h
===================================================================
--- bin/builtin.h (revision 1955)
+++ bin/builtin.h (working copy)
@@ -34,10 +34,24 @@
#define DECLARE_FUNCTION(name, count) \
extern void FUNCTION_NAME(name)(Dart_NativeArguments args);
-extern Dart_Handle Builtin_Source();
-extern void Builtin_SetupLibrary(Dart_Handle builtin_lib);
-extern void Builtin_ImportLibrary(Dart_Handle library);
-extern void Builtin_SetNativeResolver();
-extern void PrintString(FILE* out, Dart_Handle object);
+class Builtin {
+ public:
+ static Dart_Handle Source();
+ static void SetupLibrary(Dart_Handle builtin_lib);
+ static void ImportLibrary(Dart_Handle library);
+ static void SetNativeResolver();
+ static void PrintString(FILE* out, Dart_Handle object);
+
+ private:
+ static Dart_NativeFunction NativeLookup(Dart_Handle name,
+ int argument_count);
+
+ static const char Builtin_source_[];
+
+ DISALLOW_ALLOCATION();
+ DISALLOW_IMPLICIT_CONSTRUCTORS(Builtin);
+};
+
+
#endif // BIN_BUILTIN_H_
« no previous file with comments | « bin/bin.gypi ('k') | bin/builtin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698