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:
parent
f6e90bb938
commit
28c02b9e08
2 changed files with 2 additions and 2 deletions
|
@ -332,7 +332,7 @@ rb_ary_to_ary(VALUE obj) ::
|
|||
引数aryに配列を渡さなければならない. さもないと
|
||||
コアを吐く.
|
||||
|
||||
rb_ary_aref(argc, VALUE *argv, VALUE ary) ::
|
||||
rb_ary_aref(int argc, const VALUE *argv, VALUE ary) ::
|
||||
|
||||
Array#[]と同等.
|
||||
|
||||
|
|
|
@ -309,7 +309,7 @@ rb_ary_to_ary(VALUE obj) ::
|
|||
There are many functions to operate an array. They may dump core if other
|
||||
types are given.
|
||||
|
||||
rb_ary_aref(argc, VALUE *argv, VALUE ary) ::
|
||||
rb_ary_aref(int argc, const VALUE *argv, VALUE ary) ::
|
||||
|
||||
Equivalent to Array#[].
|
||||
|
||||
|
|
Loading…
Reference in a new issue