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

ruby-changes:32670

From: usa <ko1@a...>
Date: Wed, 29 Jan 2014 19:23:24 +0900 (JST)
Subject: [ruby-changes:32670] usa:r44749 (ruby_1_9_3): * enumerator.c: include internal.h instead of declaring the external

usa	2014-01-29 19:23:19 +0900 (Wed, 29 Jan 2014)

  New Revision: 44749

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

  Log:
    * enumerator.c: include internal.h instead of declaring the external
      function there.

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/common.mk
    branches/ruby_1_9_3/enumerator.c
    branches/ruby_1_9_3/version.h
Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 44748)
+++ ruby_1_9_3/ChangeLog	(revision 44749)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/ChangeLog#L1
+Wed Jan 29 19:22:45 2014  NAKAMURA Usaku  <usa@r...>
+
+	* enumerator.c: include internal.h instead of declaring the external
+	  function there.
+
 Wed Jan 29 18:52:09 2014  NAKAMURA Usaku  <usa@r...>
 
 	* enumerator.c (enumerator_with_index_i): add the declaration of
Index: ruby_1_9_3/enumerator.c
===================================================================
--- ruby_1_9_3/enumerator.c	(revision 44748)
+++ ruby_1_9_3/enumerator.c	(revision 44749)
@@ -14,6 +14,7 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/enumerator.c#L14
 
 #include "ruby/ruby.h"
 #include "node.h"
+#include "internal.h"
 
 /*
  * Document-class: Enumerator
@@ -366,8 +367,6 @@ enumerator_each(VALUE obj) https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/enumerator.c#L367
     return enumerator_block_call(obj, 0, obj);
 }
 
-extern VALUE rb_int_succ(VALUE);
-
 static VALUE
 enumerator_with_index_i(VALUE val, VALUE m, int argc, VALUE *argv)
 {
Index: ruby_1_9_3/common.mk
===================================================================
--- ruby_1_9_3/common.mk	(revision 44748)
+++ ruby_1_9_3/common.mk	(revision 44749)
@@ -619,7 +619,8 @@ encoding.$(OBJEXT): {$(VPATH)}encoding.c https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/common.mk#L619
   {$(VPATH)}internal.h
 enum.$(OBJEXT): {$(VPATH)}enum.c $(RUBY_H_INCLUDES) {$(VPATH)}node.h \
   {$(VPATH)}util.h $(ID_H_INCLUDES)
-enumerator.$(OBJEXT): {$(VPATH)}enumerator.c $(RUBY_H_INCLUDES) {$(VPATH)}node.h
+enumerator.$(OBJEXT): {$(VPATH)}enumerator.c $(RUBY_H_INCLUDES) \
+  {$(VPATH)}node.h {$(VPATH)}internal.h
 error.$(OBJEXT): {$(VPATH)}error.c {$(VPATH)}known_errors.inc \
   $(RUBY_H_INCLUDES) $(VM_CORE_H_INCLUDES) $(ENCODING_H_INCLUDES) \
   {$(VPATH)}debug.h \
Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 44748)
+++ ruby_1_9_3/version.h	(revision 44749)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 502
+#define RUBY_PATCHLEVEL 503
 
 #define RUBY_RELEASE_DATE "2014-01-29"
 #define RUBY_RELEASE_YEAR 2014

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

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