summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/encoding.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index 2c7f105ec3..b6ac57418c 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -209,6 +209,7 @@ typedef enum {
typedef struct rb_econv_t rb_econv_t;
VALUE rb_str_transcode(VALUE str, VALUE to, int ecflags, VALUE ecopts);
+int rb_transcode_convertible(const char* from_encoding, const char* to_encoding);
int rb_econv_prepare_opts(VALUE opthash, VALUE *ecopts);