aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/encoding.h')
-rw-r--r--include/ruby/encoding.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index b952c74027..1aa4385c0d 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -253,6 +253,8 @@ typedef struct {
int flags;
} rb_econv_option_t;
+void rb_econv_opts(VALUE hash, rb_econv_option_t *opts);
+
rb_econv_t *rb_econv_open(const char *source_encoding, const char *destination_encoding, rb_econv_option_t *opts);
rb_econv_result_t rb_econv_convert(rb_econv_t *ec,
const unsigned char **source_buffer_ptr, const unsigned char *source_buffer_end,