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

function there.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2014-01-29 10:23:19 +00:00
parent e228a4a345
commit 30d7be39da
4 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Wed Jan 29 19:22:45 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* enumerator.c: include internal.h instead of declaring the external
function there.
Wed Jan 29 18:52:09 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* enumerator.c (enumerator_with_index_i): add the declaration of

View file

@ -619,7 +619,8 @@ encoding.$(OBJEXT): {$(VPATH)}encoding.c $(RUBY_H_INCLUDES) \
{$(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 \

View file

@ -14,6 +14,7 @@
#include "ruby/ruby.h"
#include "node.h"
#include "internal.h"
/*
* Document-class: Enumerator
@ -366,8 +367,6 @@ enumerator_each(VALUE obj)
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)
{

View file

@ -1,5 +1,5 @@
#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