From c07c33b28a5a3015e995a63ece9d771cae6699d1 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 1 Oct 2013 11:54:53 +0000 Subject: 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 --- include/ruby/io.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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) -- cgit v1.2.3