summaryrefslogtreecommitdiffstats
path: root/rubyio.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-07 02:51:05 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-07 02:51:05 +0000
commit8cdc3778294e77428b05f16ec7a60ff8d1f7775a (patch)
tree7b44f5fa6aa0e5c49b2928d43f00ccc71c97a07f /rubyio.h
parentb10a3c15cf0b3ab78fe761ad7f7cc37a54d8e0ad (diff)
downloadruby-8cdc3778294e77428b05f16ec7a60ff8d1f7775a.tar.gz
ruby-8cdc3778294e77428b05f16ec7a60ff8d1f7775a.tar.xz
ruby-8cdc3778294e77428b05f16ec7a60ff8d1f7775a.zip
* file.c (rb_get_path): get path string via "to_path" method if
path object is not a string. [Ruby2] * gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the exit finalizers. * io.c (rb_io_reopen): should use rb_io_check_io(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r--rubyio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubyio.h b/rubyio.h
index d3b71fb76..fe6c71910 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -65,7 +65,7 @@ long rb_io_fwrite _((const char *, long, FILE *));
int rb_io_mode_flags _((const char*));
void rb_io_check_writable _((OpenFile*));
void rb_io_check_readable _((OpenFile*));
-void rb_io_fptr_finalize _((OpenFile*));
+int rb_io_fptr_finalize _((OpenFile*));
void rb_io_synchronized _((OpenFile*));
void rb_io_check_closed _((OpenFile*));
int rb_io_wait_readable _((int));