[前][次][番号順一覧][スレッド一覧]

ruby-changes:24297

From: kosaki <ko1@a...>
Date: Tue, 10 Jul 2012 00:53:14 +0900 (JST)
Subject: [ruby-changes:24297] kosaki:r36348 (trunk): * include/ruby/ruby.h: Removed RUBY_GLOBAL_SETUP complely. It is

kosaki	2012-07-10 00:53:02 +0900 (Tue, 10 Jul 2012)

  New Revision: 36348

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36348

  Log:
    * include/ruby/ruby.h: Removed RUBY_GLOBAL_SETUP complely. It is
      no meaning definition since r24894.
    * main.c: ditto.
    * nacl/pepper_main.c: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/ruby.h
    trunk/main.c
    trunk/nacl/pepper_main.c

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 36347)
+++ include/ruby/ruby.h	(revision 36348)
@@ -1485,13 +1485,6 @@
  */
 typedef void *ruby_opaque_t;
 
-/*! @deprecated You no longer need to use this macro. */
-#if (defined(__APPLE__) || defined(__NeXT__)) && defined(__MACH__)
-#define RUBY_GLOBAL_SETUP /* use linker option to link startup code with ObjC support */
-#else
-#define RUBY_GLOBAL_SETUP
-#endif
-
 /** @defgroup ruby1 ruby(1) implementation
  * A part of the implementation of ruby(1) command.
  * Other programs that embed Ruby interpreter do not always need to use these
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36347)
+++ ChangeLog	(revision 36348)
@@ -1,3 +1,10 @@
+Tue Jul 10 00:44:41 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* include/ruby/ruby.h: Removed RUBY_GLOBAL_SETUP complely. It is
+	  no meaning definition since r24894.
+	* main.c: ditto.
+	* nacl/pepper_main.c: ditto.
+
 Mon Jul  9 23:59:36 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* dln.c: Simplify and make consistent an ifdef for Mac OS X.
Index: main.c
===================================================================
--- main.c	(revision 36347)
+++ main.c	(revision 36348)
@@ -19,8 +19,6 @@
 #include <stdlib.h>
 #endif
 
-RUBY_GLOBAL_SETUP
-
 int
 main(int argc, char **argv)
 {
Index: nacl/pepper_main.c
===================================================================
--- nacl/pepper_main.c	(revision 36347)
+++ nacl/pepper_main.c	(revision 36348)
@@ -29,8 +29,6 @@
 #include "ruby/ruby.h"
 #include "gc.h"
 
-RUBY_GLOBAL_SETUP
-
 #ifdef HAVE_STRUCT_PPB_CORE
 typedef struct PPB_Core PPB_Core;
 #endif

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]