aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/io.h')
-rw-r--r--include/ruby/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index ba166f8c9a..0b1235ec6b 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -157,6 +157,7 @@ void rb_io_check_closed(rb_io_t*);
int rb_io_wait_readable(int);
int rb_io_wait_writable(int);
void rb_io_set_nonblock(rb_io_t *fptr);
+int rb_io_extract_encoding_option(VALUE opt, rb_encoding **enc_p, rb_encoding **enc2_p, int *fmode_p);
/* compatibility for ruby 1.8 and older */
#define rb_io_mode_flags(modestr) rb_io_modestr_fmode(modestr)