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

* array.c (rb_ary_set_len): new function to set array length.

* vm_eval.c (method_missing): set the length of argv array, to mark
  arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-07-29 14:53:51 +00:00
parent 0d6329343a
commit d93746490d
4 changed files with 23 additions and 1 deletions

View file

@ -41,6 +41,7 @@ struct vtm; /* defined by timev.h */
/* array.c */
VALUE rb_ary_last(int, VALUE *, VALUE);
void rb_ary_set_len(VALUE, long);
/* bignum.c */
VALUE rb_big_fdiv(VALUE x, VALUE y);