summaryrefslogtreecommitdiff
path: root/internal/encoding.h
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2022-09-10 19:15:49 +0200
committerBenoit Daloze <eregontp@gmail.com>2022-09-12 14:02:34 +0200
commit6525b6f760ccd9612c9546b0313ab1c7e4af5e66 (patch)
tree5ebdea9a640cfe89051bdb21b99042f4f0ea2c48 /internal/encoding.h
parented029e9bd42d7749fe22007e33c0f61d1dd3d792 (diff)
downloadruby-6525b6f760ccd9612c9546b0313ab1c7e4af5e66.tar.gz
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/encoding.h')
-rw-r--r--internal/encoding.h1
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 */