mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
5b21e94beb
[Misc #18891]
10 lines
238 B
C
10 lines
238 B
C
#define require(name) ruby_require_internal(name, (unsigned int)sizeof(name)-1)
|
|
int ruby_require_internal(const char *, int);
|
|
|
|
void
|
|
Init_enc(void)
|
|
{
|
|
if (require("enc/encdb.so") == 1) {
|
|
require("enc/trans/transdb.so");
|
|
}
|
|
}
|