diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | enum.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,9 +1,12 @@ +Mon Apr 14 19:18:55 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * enum.c (inject_i, inject_op_i): prototype. + Mon Apr 14 19:10:47 2008 Akinori MUSHA <knu@iDaemons.org> * enum.c New methods: Enumerable#take, #take_while, #drop and #drop_while; backported from 1.9. - Mon Apr 14 18:50:15 2008 Akinori MUSHA <knu@iDaemons.org> * enum.c: New methods: Enumerable#one?, #none?, #minmax, #min_by, @@ -436,6 +436,7 @@ enum_to_a(obj) return ary; } +static VALUE inject_i _((VALUE, VALUE)); static VALUE inject_i(i, p) VALUE i; @@ -451,6 +452,7 @@ inject_i(i, p) return Qnil; } +static VALUE inject_op_i _((VALUE, VALUE)); static VALUE inject_op_i(i, p) VALUE i; |