summaryrefslogtreecommitdiffstats
path: root/rubyio.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-18 01:11:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-18 01:11:01 +0000
commit4ee1798abfd112cc7253c8b5884c5381046ff862 (patch)
tree4ae7693e5b15ba0183969f847fd523ef4027ce0b /rubyio.h
parenta2b820edfe1bfedad5993e4c4724fcdab4034525 (diff)
downloadruby-4ee1798abfd112cc7253c8b5884c5381046ff862.tar.gz
ruby-4ee1798abfd112cc7253c8b5884c5381046ff862.tar.xz
ruby-4ee1798abfd112cc7253c8b5884c5381046ff862.zip
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r--rubyio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rubyio.h b/rubyio.h
index 44f679494..3fe328219 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -63,6 +63,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*));
void rb_io_fptr_finalize _((OpenFile*));