diff options
author | Benoit Daloze <eregontp@gmail.com> | 2022-09-10 19:15:49 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2022-09-12 14:02:34 +0200 |
commit | 6525b6f760ccd9612c9546b0313ab1c7e4af5e66 (patch) | |
tree | 5ebdea9a640cfe89051bdb21b99042f4f0ea2c48 /internal | |
parent | ed029e9bd42d7749fe22007e33c0f61d1dd3d792 (diff) |
Remove get_actual_encoding() and the dynamic endian detection for dummy UTF-16/UTF-32
* And simplify callers of get_actual_encoding().
* See [Feature #18949].
* See https://github.com/ruby/ruby/pull/6322#issuecomment-1242758474
Diffstat (limited to 'internal')
-rw-r--r-- | internal/encoding.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/encoding.h b/internal/encoding.h index c48cb24b04..853426a58d 100644 --- a/internal/encoding.h +++ b/internal/encoding.h @@ -24,7 +24,6 @@ int rb_encdb_dummy(const char *name); void rb_encdb_declare(const char *name); void rb_enc_set_base(const char *name, const char *orig); int rb_enc_set_dummy(int index); -void rb_encdb_set_unicode(int index); PUREFUNC(int rb_data_is_encoding(VALUE obj)); #endif /* INTERNAL_ENCODING_H */ |