1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix types of function argument

* doc/extension.ja.rdoc: Fix types of rb_ary_aref argument

* doc/extension.rdoc: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yui-knk 2017-08-10 14:46:51 +00:00
parent f6e90bb938
commit 28c02b9e08
2 changed files with 2 additions and 2 deletions

View file

@ -332,7 +332,7 @@ rb_ary_to_ary(VALUE obj) ::
引数aryに配列を渡さなければならない. さもないと 引数aryに配列を渡さなければならない. さもないと
コアを吐く. コアを吐く.
rb_ary_aref(argc, VALUE *argv, VALUE ary) :: rb_ary_aref(int argc, const VALUE *argv, VALUE ary) ::
Array#[]と同等. Array#[]と同等.

View file

@ -309,7 +309,7 @@ rb_ary_to_ary(VALUE obj) ::
There are many functions to operate an array. They may dump core if other There are many functions to operate an array. They may dump core if other
types are given. types are given.
rb_ary_aref(argc, VALUE *argv, VALUE ary) :: rb_ary_aref(int argc, const VALUE *argv, VALUE ary) ::
Equivalent to Array#[]. Equivalent to Array#[].