diff options
Diffstat (limited to 'transcode.c')
-rw-r--r-- | transcode.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/transcode.c b/transcode.c index 66287c957..78b41724b 100644 --- a/transcode.c +++ b/transcode.c @@ -1711,6 +1711,12 @@ econv_opts(VALUE opt) return options; } +void +rb_econv_opts(VALUE hash, rb_econv_option_t *opts) +{ + opts->flags = econv_opts(hash); +} + static int str_transcode_enc_args(VALUE str, VALUE arg1, VALUE arg2, const char **sname, rb_encoding **senc, |