diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/encoding.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index 9ad7d3b53a..55b5bde354 100644 --- a/include/ruby/encoding.h +++ b/include/ruby/encoding.h @@ -216,6 +216,11 @@ typedef struct { typedef struct { int flags; + /* replacement character, etc. */ +} rb_econv_option_t; + +typedef struct { + rb_econv_option_t opts; const char *source_encoding_name; const char *destination_encoding_name; @@ -247,11 +252,6 @@ typedef struct { rb_encoding *destination_encoding; } rb_econv_t; -typedef struct { - int flags; - /* 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); |