зеркало из https://github.com/github/ruby.git
* 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:
Родитель
1da3e0f992
Коммит
6494314d2a
|
@ -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.
|
||||
|
||||
* enumerator.c (inspect_enumerator): should use long.
|
||||
|
||||
Wed May 20 06:25:29 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* 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));
|
||||
|
||||
if (e->args) {
|
||||
int argc = RARRAY_LEN(e->args);
|
||||
long argc = RARRAY_LEN(e->args);
|
||||
VALUE *argv = RARRAY_PTR(e->args);
|
||||
|
||||
rb_str_buf_cat2(str, "(");
|
||||
|
|
Загрузка…
Ссылка в новой задаче