From 28c02b9e087bfa09c04b38da9c6790a04c4f93d2 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Thu, 10 Aug 2017 14:46:51 +0000 Subject: 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 --- doc/extension.ja.rdoc | 2 +- doc/extension.rdoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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#[]. -- cgit v1.2.3