diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-02-21 19:26:22 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-02-21 23:37:20 +0900 |
commit | 01c7e16c0ce66cfa745d49cd4f18d43c23dbe225 (patch) | |
tree | 5508922749c08272d575d86de002ba99cf193133 /dmyext.c | |
parent | 04729fe68dceddab045be7324e26c2bb15aa62c7 (diff) |
Separate miniruby from dmyext.c
Diffstat (limited to 'dmyext.c')
-rw-r--r-- | dmyext.c | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -1,7 +1,16 @@ -// This file is used by dynamically-linked ruby and miniruby. -// miniruby uses this Init_ext, which does nothing. It does not support require'ing extension libraries. -// Dynamically-linked ruby uses this Init_ext, which does nothing. It loads extension libraries by dlopen, etc. -// Statically-linked ruby does not use this Init_ext. Instead, "ext/extinit.c" (which is a generated file) defines Init_ext, which activates the (statically-linked) extension libraries. +// This file is used by dynamically-linked ruby, which has no +// statically-linked extension libraries. +// +// - miniruby does not use this Init_ext. Instead, "miniinit.c" +// provides Init_enc, which does nothing too. It does not support +// require'ing extension libraries. +// +// - Dynamically-linked ruby uses this Init_ext, which does +// nothing. It loads extension libraries by dlopen, etc. +// +// - Statically-linked ruby does not use this Init_ext. Instead, +// "ext/extinit.c" (which is a generated file) defines Init_ext, +// which activates the (statically-linked) extension libraries. void Init_ext(void) |