diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-05 20:10:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-05 20:10:59 +0000 |
commit | c8aaf31fdd06df05c8c58df3d312280c5a02fc09 (patch) | |
tree | edd156110766ed5e43f11c393f49e4300dbe57a6 /include/ruby | |
parent | 697a45b196c606147997372c20d14c6b2eccdda4 (diff) | |
download | ruby-c8aaf31fdd06df05c8c58df3d312280c5a02fc09.tar.gz |
* array.c (rb_ary_resize): new utility function. [ruby-dev:42912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 578587109d..7f194a9dd2 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -83,6 +83,7 @@ VALUE rb_ary_includes(VALUE, VALUE); VALUE rb_ary_cmp(VALUE, VALUE); VALUE rb_ary_replace(VALUE copy, VALUE orig); VALUE rb_get_values_at(VALUE, long, int, VALUE*, VALUE(*)(VALUE,long)); +VALUE rb_ary_resize(VALUE ary, long len); /* bignum.c */ VALUE rb_big_new(long, int); int rb_bigzero_p(VALUE x); |