Ruby: dmyenc.c Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

dmyenc.c
Go to the documentation of this file.
1#define require(name) ruby_require_internal(name, (unsigned int)sizeof(name)-1)
2 int ruby_require_internal(const char *, int);
3
4void
5Init_enc(void)
6{
7 if (require("enc/encdb.so") == 1) {
8 require("enc/trans/transdb.so");
9 }
10}
Init_enc
void Init_enc(void)
Definition: dmyenc.c:5
require
#define require(name)
Definition: dmyenc.c:1
ruby_require_internal
int ruby_require_internal(const char *, int)