summaryrefslogtreecommitdiff
path: root/dmyenc.c
blob: 75b8a2da43a06aa2f37d3333dd02af3febae73f9 (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");
    }
}