summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-29 14:53:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-29 14:53:51 +0000
commitd93746490d15deb4bdf35a47348106a41338002c (patch)
treeebc1a373112bee0625020580bcb3719c32d6b0bb /internal.h
parent0d6329343aaa02234b89af0ae2a3129470bda760 (diff)
* 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
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 59340d2884..dad96606db 100644
--- a/internal.h
+++ b/internal.h
@@ -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);