mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enumerator.c (inspect_enumerator): should use long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1da3e0f992
commit
6494314d2a
2 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
||||||
Wed May 20 17:58:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed May 20 18:34:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* enum.c (zip_ary): should use long.
|
* enum.c (zip_ary): should use long.
|
||||||
|
|
||||||
|
* enumerator.c (inspect_enumerator): should use long.
|
||||||
|
|
||||||
Wed May 20 06:25:29 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Wed May 20 06:25:29 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* encoding.c (rb_enc_fast_mbclen): faster mbclen for strings known
|
* encoding.c (rb_enc_fast_mbclen): faster mbclen for strings known
|
||||||
|
|
|
@ -605,7 +605,7 @@ inspect_enumerator(VALUE obj, VALUE dummy, int recur)
|
||||||
rb_str_buf_cat2(str, rb_id2name(e->meth));
|
rb_str_buf_cat2(str, rb_id2name(e->meth));
|
||||||
|
|
||||||
if (e->args) {
|
if (e->args) {
|
||||||
int argc = RARRAY_LEN(e->args);
|
long argc = RARRAY_LEN(e->args);
|
||||||
VALUE *argv = RARRAY_PTR(e->args);
|
VALUE *argv = RARRAY_PTR(e->args);
|
||||||
|
|
||||||
rb_str_buf_cat2(str, "(");
|
rb_str_buf_cat2(str, "(");
|
||||||
|
|
Loading…
Add table
Reference in a new issue