summaryrefslogtreecommitdiff
path: root/rubyio.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-29 12:28:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-29 12:28:32 +0000
commit9f5f676d82fbf68e81c7d592a4f45fab7dd425bc (patch)
tree2679c44dffa58646b6675f9cc5ef707751a7a472 /rubyio.h
parentb99f22f19681191a4014579d69c870145cc3ee7a (diff)
* io.c (rb_io_check_initialized): new function to check uninitialized
object. [ruby-talk:118234] * file.c (rb_file_path), io.c (rb_io_closed): check if initialized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7140 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 0b77fa1794..f56cec4c40 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -69,6 +69,7 @@ void rb_io_check_writable _((OpenFile*));
void rb_io_check_readable _((OpenFile*));
int rb_io_fptr_finalize _((OpenFile*));
void rb_io_synchronized _((OpenFile*));
+void rb_io_check_initialized _((OpenFile*));
void rb_io_check_closed _((OpenFile*));
int rb_io_wait_readable _((int));
int rb_io_wait_writable _((int));