1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* enum.c (enum_drop): fix typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2007-10-31 16:53:04 +00:00
parent ac5a975aaf
commit 4905959e34
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Nov 1 01:52:23 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* enum.c (enum_drop): fix typo.
Thu Nov 1 01:51:01 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* vm_core.h (ruby_current_thread): RUBY_EXTERN'ed for probeprofiler.

2
enum.c
View file

@ -1491,8 +1491,8 @@ enum_drop(VALUE obj, VALUE n)
{
VALUE args[2];
args[0] = rb_ary_new2(args[1]);
args[1] = NUM2ULONG(n);
args[0] = rb_ary_new2(args[1]);
rb_block_call(obj, id_each, 0, 0, drop_i, (VALUE)args);
return args[0];
}