repo.or.cz
/
ruby-80x24.org.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* 2022-01-18 [ci skip]
[ruby-80x24.org.git]
/
dmyenc.c
blob
7e006e826c2cf4df80fa43b61db9f11283acb312
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
}