summaryrefslogtreecommitdiff
path: root/include/ruby/io.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-01 11:54:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-01 11:54:53 +0000
commitc07c33b28a5a3015e995a63ece9d771cae6699d1 (patch)
tree7d4ee4b546cf8d57d04075b1f464ec8181b22720 /include/ruby/io.h
parentf09b772de6d7ce3710a55da99c88ea683f2f8b2b (diff)
file.c: export rb_stat_new
* file.c (stat_new_0): constify. * file.c (rb_stat_new): constify and export. based on a patch by Hanmac (Hans Mackowiak) at [ruby-core:53225]. [Feature #8050] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/io.h')
-rw-r--r--include/ruby/io.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index bcdee3b0c0..23337679f0 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -197,6 +197,11 @@ void rb_io_read_check(rb_io_t*);
int rb_io_read_pending(rb_io_t*);
DEPRECATED(void rb_read_check(FILE*));
+struct stat;
+VALUE rb_stat_new(const struct stat *);
+
+/* gc.c */
+
RUBY_SYMBOL_EXPORT_END
#if defined(__cplusplus)