aboutsummaryrefslogtreecommitdiffstats
path: root/doc/extension.ja.rdoc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-30 07:33:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-30 07:33:21 +0000
commitc15acbba04536b16937a51a07078abdb6e8172cc (patch)
tree793826bac933316de4d2c99ab83630a142fbf09a /doc/extension.ja.rdoc
parentf2cfd895c477a605fab615b5d13e188b95465c95 (diff)
downloadruby-c15acbba04536b16937a51a07078abdb6e8172cc.tar.gz
extension*.rdoc: fix errors [ci skip]
* extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors. Renamed files, wrong method names or argument types; the example GetDBM macro is now updated to the current version of the actual code. patch by Marcus Stollsteimer in [ruby-core:74690]. [Bug #12228] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/extension.ja.rdoc')
-rw-r--r--doc/extension.ja.rdoc16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/extension.ja.rdoc b/doc/extension.ja.rdoc
index dfa526f2d4..b6b8623cda 100644
--- a/doc/extension.ja.rdoc
+++ b/doc/extension.ja.rdoc
@@ -275,7 +275,7 @@ rb_utf8_str_new_cstr(const char *ptr) ::
エンコーディングがUTF-8のRubyの文字列を生成する.
-rb_usascii_str_new_literal(const char *ptr) ::
+rb_utf8_str_new_literal(const char *ptr) ::
Cのリテラル文字列からエンコーディングがUTF-8のRubyの文字列を生成する.
@@ -889,7 +889,7 @@ Dataオブジェクトからdbmstruct構造体のポインタを取り出すた
に以下のマクロを使っています.
#define GetDBM(obj, dbmp) do {\
- TypedData_Get_Struct(obj, struct dbmdata, &dbm_type, dbmp);\
+ TypedData_Get_Struct((obj), struct dbmdata, &dbm_type, (dbmp));\
if ((dbmp) == 0) closed_dbm();\
if ((dbmp)->di_dbm == 0) closed_dbm();\
} while (0)
@@ -1069,7 +1069,7 @@ variable.c :: 変数と定数
parse.y :: 字句解析器と構文定義
parse.c :: 自動生成
-keywords :: 予約語
+defs/keywords :: 予約語
lex.c :: 自動生成
== Rubyの評価器 (通称YARV)
@@ -1091,12 +1091,12 @@ lex.c :: 自動生成
vm_insnhelper.c
vm_method.c
- opt_insns_unif.def : 命令融合
- opt_operand.def : 最適化のための定義
+ defs/opt_insns_unif.def : 命令融合
+ defs/opt_operand.def : 最適化のための定義
- -> insn*.inc : 自動生成
- -> opt*.inc : 自動生成
- -> vm.inc : 自動生成
+ -> insn*.inc : 自動生成
+ -> opt*.inc : 自動生成
+ -> vm.inc : 自動生成
== 正規表現エンジン (鬼車)