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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index 9f219d5880..9ad7d3b53a 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -194,8 +194,6 @@ rb_enc_dummy_p(rb_encoding *enc)
return ENC_DUMMY_P(enc) != 0;
}
-VALUE rb_str_transcode(VALUE str, VALUE to, int ecflags);
-
/* econv stuff */
typedef enum {
@@ -254,6 +252,8 @@ typedef struct {
/* replacement character, etc. */
} rb_econv_option_t;
+VALUE rb_str_transcode(VALUE str, VALUE to, rb_econv_option_t *ecopts);
+
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);