From 32f2cb47b754ae73d06daef8ad19a8c90c88836a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 1 Jan 2024 00:49:25 +0900 Subject: [DOC] Use local links --- doc/extension.ja.rdoc | 6 +++--- doc/extension.rdoc | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'doc') 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. -- cgit v1.2.3