diff options
Diffstat (limited to 'dmyext.c')
-rw-r--r-- | dmyext.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +// 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. + void Init_ext(void) { |