summaryrefslogtreecommitdiff
path: root/README.EXT
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-31 08:04:56 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-31 08:04:56 (GMT)
commit1c5cdc62cc34a92ae612beeb5fd9f12abaf5e6f6 (patch)
tree738357a2ae201dd8d07e490822d6ae0049821085 /README.EXT
parent58bec3e2cbfee9757fc48e8a5f7abf6dec5cc848 (diff)
array.c: new names of rb_ary_new family
* array.c (rb_ary_new_capa): add better names of rb_ary_new2. * array.c (rb_ary_new_from_args): ditto for rb_ary_new3. * array.c (rb_ary_new_from_values): ditto for rb_ary_new4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r--README.EXT3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.EXT b/README.EXT
index 73a78d8..9e9f8e1 100644
--- a/README.EXT
+++ b/README.EXT
@@ -250,15 +250,18 @@ rb_ary_new() ::
Creates an array with no elements.
rb_ary_new2(long len) ::
+rb_ary_new_capa(long len) ::
Creates an array with no elements, allocating internal buffer
for len elements.
rb_ary_new3(long n, ...) ::
+rb_ary_new_from_args(long n, ...) ::
Creates an n-element array from the arguments.
rb_ary_new4(long n, VALUE *elts) ::
+rb_ary_new_from_values(long n, VALUE *elts) ::
Creates an n-element array from a C array.