summaryrefslogtreecommitdiffstats
path: root/include/ruby/intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 20:29:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 20:29:32 +0000
commitde66060760710621346a13dc7f7d95730fd2fb48 (patch)
treed10c7b98a20b4a484f84c98e66591c0f5dd392aa /include/ruby/intern.h
parentbb2bdc887c717d4770a113b19f1b685f5837d960 (diff)
downloadruby-de66060760710621346a13dc7f7d95730fd2fb48.tar.gz
ruby-de66060760710621346a13dc7f7d95730fd2fb48.tar.xz
ruby-de66060760710621346a13dc7f7d95730fd2fb48.zip
* io.c (rb_io_fdopen): create IO object from fd.
* parse.y (yycompile): use encoding of the source as default. * ruby.c (proc_options, load_file): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r--include/ruby/intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 1b453d1f3..500ec6a35 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -352,6 +352,7 @@ VALUE rb_io_addstr(VALUE, VALUE);
VALUE rb_io_printf(int, VALUE*, VALUE);
VALUE rb_io_print(int, VALUE*, VALUE);
VALUE rb_io_puts(int, VALUE*, VALUE);
+VALUE rb_io_fdopen(int, int, const char*);
VALUE rb_file_open(const char*, const char*);
VALUE rb_gets(void);
void rb_write_error(const char*);