* enum.c (collect_all): should pack all values. [ruby-core:14410]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3e65d11090
commit
f46baadb56
@ -14,6 +14,8 @@ Tue Dec 25 15:00:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
|||||||
* enum.c: all method but all?, any?, one? and none? passed packed
|
* enum.c: all method but all?, any?, one? and none? passed packed
|
||||||
multiple values to the block.
|
multiple values to the block.
|
||||||
|
|
||||||
|
* enum.c (collect_all): should pack all values. [ruby-core:14410]
|
||||||
|
|
||||||
Tue Dec 25 14:57:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Dec 25 14:57:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* common.mk (COMMONOBJS): transcode_data_*.c moved under enc/trans.
|
* common.mk (COMMONOBJS): transcode_data_*.c moved under enc/trans.
|
||||||
|
4
enum.c
4
enum.c
@ -302,9 +302,9 @@ collect_i(VALUE i, VALUE ary, int argc, VALUE *argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
collect_all(VALUE i, VALUE ary)
|
collect_all(VALUE i, VALUE ary, int argc, VALUE *argv)
|
||||||
{
|
{
|
||||||
rb_ary_push(ary, i);
|
rb_ary_push(ary, enum_values_pack(argc, argv));
|
||||||
|
|
||||||
return Qnil;
|
return Qnil;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user