diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-04-23 11:22:55 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-04-23 14:14:36 +0900 |
commit | b4417ff66511ef94a80a3b49ba184603b8e85a1b () | |
tree | a847b0fa333debe60e56be033d712b9f7fae61fd | |
parent | 5f3fb35a14665374f353d3889ded3e8a0061895a (diff) |
Add Encoding::UNICODE_VERSION constant
Notes: Merged: https://.com/ruby/ruby/pull/13154
-rw-r--r-- | enc/unicode.c | 2 | ||||
-rw-r--r-- | encoding.c | 11 | ||||
-rw-r--r-- | inits.c | 1 |
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); |