mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* 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:
parent
e228a4a345
commit
30d7be39da
4 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue