summaryrefslogtreecommitdiff
path: root/doc/extension.ja.rdoc
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-22 14:44:24 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-22 14:44:24 +0000
commitf3b73a8ef666fe62a3bd9a614eece0256822d437 (patch)
tree73f44261c0dbca68b132c2275399edd10b154a87 /doc/extension.ja.rdoc
parentb7aceaaacf84a3a32b9c5a7963f3aa98590f348f (diff)
merge revision(s) 54434: [Backport #12228]
* 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/branches/ruby_2_3@54708 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 9db198060c..926f4d1ff3 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 : 自動生成
== 正規表現エンジン (鬼車)