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_modify): export.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-01-05 20:25:50 +00:00
parent be7e8ca772
commit 65ea2eed78
3 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Jan 6 05:25:49 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_modify): export.
Thu Jan 6 05:14:41 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/stringio/stringio.c (get_strio, strio_set_string)

View file

@ -247,7 +247,7 @@ rb_ary_modify_check(VALUE ary)
rb_raise(rb_eSecurityError, "Insecure: can't modify array");
}
static void
void
rb_ary_modify(VALUE ary)
{
rb_ary_modify_check(ary);

View file

@ -54,6 +54,7 @@ VALUE rb_ary_new3(long,...);
VALUE rb_ary_new4(long, const VALUE *);
VALUE rb_ary_tmp_new(long);
void rb_ary_free(VALUE);
void rb_ary_modify(VALUE);
VALUE rb_ary_freeze(VALUE);
VALUE rb_ary_aref(int, VALUE*, VALUE);
VALUE rb_ary_subseq(VALUE, long, long);