diff options
-rw-r--r-- | doc/extension.ja.rdoc | 2 | ||||
-rw-r--r-- | doc/extension.rdoc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/extension.ja.rdoc b/doc/extension.ja.rdoc index 4f79186f92..b0765d7c17 100644 --- a/doc/extension.ja.rdoc +++ b/doc/extension.ja.rdoc @@ -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#[]と同等. diff --git a/doc/extension.rdoc b/doc/extension.rdoc index a594d423a2..cac63a6517 100644 --- a/doc/extension.rdoc +++ b/doc/extension.rdoc @@ -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#[]. |