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:
parent
be7e8ca772
commit
65ea2eed78
3 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
2
array.c
2
array.c
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue