diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-26 07:09:58 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-26 07:09:58 +0000 |
commit | 17ee91960f34fa031af740d2d86987e9bf6a9e5c (patch) | |
tree | cc1e53be989176c7f859f6cdb83281fbf50d7b9c | |
parent | 61701ae1675f790ee3f59207283642dbe64c2d37 (diff) |
Fix function name for DBM on extension document.
Patch by Yuji Yaginuma, @y-yagi <yuuji.yaginuma@gmail.com>
[ci skip][fix GH-1519]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 ce9abec6ad..5323bce36b 100644 --- a/doc/extension.ja.rdoc +++ b/doc/extension.ja.rdoc @@ -865,7 +865,7 @@ Rubyは拡張ライブラリをロードする時に「Init_ライブラリ名 DBMライブラリはdbmのデータと対応するオブジェクトになるはずで すから,Cの世界のdbmをRubyの世界に取り込む必要があります. -dbm.cではData_Make_Structを以下のように使っています. +dbm.cではTypedData_Make_Structを以下のように使っています. struct dbmdata { int di_size; diff --git a/doc/extension.rdoc b/doc/extension.rdoc index c2a3a9833e..d5426ec3fe 100644 --- a/doc/extension.rdoc +++ b/doc/extension.rdoc @@ -802,7 +802,7 @@ Here's the example of an initializing function. } The dbm extension wraps the dbm struct in the C environment using -Data_Make_Struct. +TypedData_Make_Struct. struct dbmdata { int di_size; |