Skip to content
Browse files

move the macruby-only classes to macruby.h

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5127 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent 927e7ec commit 6130312523a841ba7c5792ebeb303ff776b84f95 Laurent Sansonetti committed
Showing with 17 additions and 16 deletions.
  1. +17 −0 include/ruby/macruby.h
  2. +0 −16 include/ruby/ruby.h
View
17 include/ruby/macruby.h
@@ -138,6 +138,23 @@ void rb_objc_methods(VALUE, Class);
bool rb_objc_is_immutable(VALUE);
#endif
+RUBY_EXTERN VALUE rb_cNSObject;
+RUBY_EXTERN VALUE rb_cRubyObject;
+RUBY_EXTERN VALUE rb_cNSString;
+RUBY_EXTERN VALUE rb_cNSMutableString;
+RUBY_EXTERN VALUE rb_cRubyString;
+RUBY_EXTERN VALUE rb_cNSArray;
+RUBY_EXTERN VALUE rb_cNSMutableArray;
+RUBY_EXTERN VALUE rb_cRubyArray;
+RUBY_EXTERN VALUE rb_cNSHash;
+RUBY_EXTERN VALUE rb_cNSMutableHash;
+RUBY_EXTERN VALUE rb_cRubyHash;
+RUBY_EXTERN VALUE rb_cNSNumber;
+RUBY_EXTERN VALUE rb_cNSDate;
+RUBY_EXTERN VALUE rb_cBoxed;
+RUBY_EXTERN VALUE rb_cPointer;
+RUBY_EXTERN VALUE rb_cTopLevel;
+
#if defined(__cplusplus)
#if 0
{ /* satisfy cc-mode */
View
16 include/ruby/ruby.h
@@ -891,7 +891,6 @@ RUBY_EXTERN VALUE rb_mProcess;
RUBY_EXTERN VALUE rb_cBasicObject;
RUBY_EXTERN VALUE rb_cObject;
-RUBY_EXTERN VALUE rb_cNSObject;
RUBY_EXTERN VALUE rb_cArray;
RUBY_EXTERN VALUE rb_cBignum;
RUBY_EXTERN VALUE rb_cBinding;
@@ -935,21 +934,6 @@ RUBY_EXTERN VALUE rb_cVM;
RUBY_EXTERN VALUE rb_cEnv;
RUBY_EXTERN VALUE rb_cRandom;
-RUBY_EXTERN VALUE rb_cNSString;
-RUBY_EXTERN VALUE rb_cNSMutableString;
-RUBY_EXTERN VALUE rb_cRubyString;
-RUBY_EXTERN VALUE rb_cNSArray;
-RUBY_EXTERN VALUE rb_cNSMutableArray;
-RUBY_EXTERN VALUE rb_cRubyArray;
-RUBY_EXTERN VALUE rb_cNSHash;
-RUBY_EXTERN VALUE rb_cNSMutableHash;
-RUBY_EXTERN VALUE rb_cRubyHash;
-RUBY_EXTERN VALUE rb_cNSNumber;
-RUBY_EXTERN VALUE rb_cNSDate;
-RUBY_EXTERN VALUE rb_cBoxed;
-RUBY_EXTERN VALUE rb_cPointer;
-RUBY_EXTERN VALUE rb_cTopLevel;
-
RUBY_EXTERN VALUE rb_eException;
RUBY_EXTERN VALUE rb_eStandardError;
RUBY_EXTERN VALUE rb_eSystemExit;

0 comments on commit 6130312

Please sign in to comment.
Something went wrong with that request. Please try again.