diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-18 01:11:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-18 01:11:01 +0000 |
commit | 27e4aa4a937c032073ee265aa0e71c430bf5774f (patch) | |
tree | 2ecad42b5e28e028c1b5166ab3e74acb726a60fd /rubyio.h | |
parent | e766a04a573d5d878678db553d9b539322f734a6 (diff) | |
download | ruby-27e4aa4a937c032073ee265aa0e71c430bf5774f.tar.gz |
* io.c, rubyio.h (rb_io_modenum_flags): exported.
* ext/stringio/stringio.c (strio_initialize): allow Fixnum as mode as
well as IO.new does. [ruby-dev:24896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r-- | rubyio.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -65,6 +65,7 @@ int rb_getc _((FILE*)); long rb_io_fread _((char *, long, FILE *)); long rb_io_fwrite _((const char *, long, FILE *)); int rb_io_mode_flags _((const char*)); +int rb_io_modenum_flags _((int)); void rb_io_check_writable _((OpenFile*)); void rb_io_check_readable _((OpenFile*)); int rb_io_fptr_finalize _((OpenFile*)); |