1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/io.h (rb_io_t): new field: writeconv_pre_opts.

* io.c (make_writeconv): initialize writeconv_pre_opts.
  (io_fwrite): use writeconv_pre_opts.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-08-25 17:45:30 +00:00
parent 08911df311
commit 75b2d7cbe8
3 changed files with 17 additions and 12 deletions

View file

@ -69,6 +69,7 @@ typedef struct rb_io_t {
rb_econv_t *writeconv;
VALUE writeconv_stateless;
rb_econv_option_t writeconv_pre_opts;
int writeconv_initialized;
} rb_io_t;