英語版
このページの英語版を見る
rt.minfo
Dプログラミング言語で書かれている。
モジュール初期化ルーチン。
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
Authors:
Walter Bright, Sean Kelly
ソース rt/minfo.d
- struct
ModuleGroup
; - ModuleGroupは、順序付けされていないモジュールのコレクションである。 に対して1つだけ存在する:
- 直接または共有ライブラリとして静的にリンクされたすべてのDモジュール。
- rt_loadLibrary()の各呼び出し
- nothrow void
sortCtors
(stringcycleHandling
);
voidsortCtors
(); - ctors[]とtlsctors[]を割り当てて埋める。 モジュールは、コンストラクタを実行する必要がある順番で配列に挿入される。 を実行する必要がある。Parameters:Throws:失敗したら例外。
- int
moduleinfos_apply
(scope int delegate(immutable(ModuleInfo*))dg
); - すべてのモジュール情報を反復処理する。
- void
rt_moduleCtor
(); - モジュールのコンストラクタとデストラクタのルーチン。
- void
rt_moduleTlsCtor
(); - モジュールのコンストラクタとデストラクタのルーチン。
- void
rt_moduleTlsDtor
(); - モジュール・コンストラクタおよびデストラクタ・ルーチン。
- void
rt_moduleDtor
(); - モジュール・コンストラクタおよびデストラクタ・ルーチン。
- void
runModuleFuncs
(alias getfp)(const(immutable(ModuleInfo)*)[]modules
);
Copyright © 1999-2024 by the D Language Foundation
DEEPL APIにより翻訳、ところどころ修正。
このページの最新版(英語)
このページの原文(英語)
翻訳時のdmdのバージョン: 2.108.0
ドキュメントのdmdのバージョン: 2.109.1
翻訳日付 :
HTML生成日時:
編集者: dokutoku