aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-01-01 00:49:25 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-01-01 00:49:25 +0900
commit32f2cb47b754ae73d06daef8ad19a8c90c88836a (patch)
treec4e2e8d3012eb0b0e222fb803c380aec54326f01 /doc
parent569a06aa2fbaec3febc5de975654cba8f85813f1 (diff)
downloadruby-32f2cb47b754ae73d06daef8ad19a8c90c88836a.tar.gz
[DOC] Use local links
Diffstat (limited to 'doc')
-rw-r--r--doc/extension.ja.rdoc6
-rw-r--r--doc/extension.rdoc9
2 files changed, 8 insertions, 7 deletions
diff --git a/doc/extension.ja.rdoc b/doc/extension.ja.rdoc
index bde907c916..b768733365 100644
--- a/doc/extension.ja.rdoc
+++ b/doc/extension.ja.rdoc
@@ -780,9 +780,9 @@ RUBY_TYPED_WB_PROTECTED ::
メソッドの実装に適切にライトバリアを挿入する責任があります.
さもなくばRubyは実行時にクラッシュする可能性があります.
- ライトバリアについてはdoc/extension.ja.rdocのAppendix D
- "世代別GC"も参照してください.
-
+ ライトバリアについては{世代別
+ GC}[rdoc-ref:@Appendix+D.+-E4-B8-96-E4-BB-A3-E5-88-A5GC]
+ も参照してください.
Cの構造体の割当と対応するオブジェクトの生成を同時に行うマク
ロとして以下のものが提供されています.
diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index f0e12f27f2..db4145ca18 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -747,13 +747,14 @@ RUBY_TYPED_WB_PROTECTED ::
barriers in all implementations of methods of that object as
appropriate. Otherwise Ruby might crash while running.
- More about write barriers can be found in "Generational GC" in
- Appendix D.
+ More about write barriers can be found in {Generational
+ GC}[rdoc-ref:@Appendix+D.+Generational+GC].
RUBY_TYPED_FROZEN_SHAREABLE ::
- This flag indicates that the object is shareable object
- if the object is frozen. See Appendix F more details.
+ This flag indicates that the object is shareable object if the object
+ is frozen. See {Ractor support}[rdoc-ref:@Appendix+F.+Ractor+support]
+ more details.
If this flag is not set, the object can not become a shareable
object by Ractor.make_shareable() method.