summaryrefslogtreecommitdiff
path: root/jni/ruby/dmyenc.c
blob: 7e006e826c2cf4df80fa43b61db9f11283acb312 (plain)
1
2
3
4
5
6
7
8
9
10
#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");
    }
}