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
@ -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…
x
Reference in New Issue
Block a user