summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--enc/unicode.c2
-rw-r--r--encoding.c11
-rw-r--r--inits.c1
3 files changed, 12 insertions, 2 deletions
@@ -801,7 +801,6 @@ SpecialsCopy:
return (int )(to - to_start);
}
-#if 0
const char onigenc_unicode_version_string[] =
#ifdef ONIG_UNICODE_VERSION_STRING
ONIG_UNICODE_VERSION_STRING
@@ -817,4 +816,3 @@ const int onigenc_unicode_version_number[3] = {
0
#endif
};
-#endif
@@ -1954,6 +1954,17 @@ Init_Encoding(void)
}
void
Init_encodings(void)
{
rb_enc_init(&global_enc_table);
@@ -75,6 +75,7 @@ rb_call_inits(void)
CALL(ast);
CALL(shape);
CALL(Prism);
// enable builtin loading
CALL(builtin);