Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

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
4 void
5 Init_enc(void)
6 {
7 if (require("enc/encdb.so") == 1) {
8 require("enc/trans/transdb.so");
9 }
10 }
require
#define require(name)
Definition: dmyenc.c:1
ruby_require_internal
int ruby_require_internal(const char *, int)
Init_enc
void Init_enc(void)
Definition: dmyenc.c:5