summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorPaolo Bosetti <[email protected]>2014-02-11 14:54:30 +0100
committerPaolo Bosetti <[email protected]>2014-02-11 14:54:30 +0100
commitee2859de6e8c95335db65746775737ad1bff35c8 (patch)
tree5707fd8718abcd05cb2178e48b376d9ad792d251 /src
parenta2af349959d7cc96302cbe49fabf50ec2633e4c4 (diff)
downloadmruby-ee2859de6e8c95335db65746775737ad1bff35c8.tar.gz
mruby-ee2859de6e8c95335db65746775737ad1bff35c8.zip
Updated mrb_include_module call after mruby 1.0.0
Diffstat (limited to 'src')
-rw-r--r--src/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index 7164734c6..7b9b23b18 100644
--- a/src/io.c
+++ b/src/io.c
@@ -759,7 +759,7 @@ mrb_init_io(mrb_state *mrb)
io = mrb_define_class(mrb, "IO", mrb->object_class);
MRB_SET_INSTANCE_TT(io, MRB_TT_DATA);
- mrb_include_module(mrb, io, mrb_class_get(mrb, "Enumerable")); /* 15.2.20.3 */
+ mrb_include_module(mrb, io, mrb_module_get(mrb, "Enumerable")); /* 15.2.20.3 */
#ifndef _WIN32
mrb_define_class_method(mrb, io, "_popen", mrb_io_s_popen, MRB_ARGS_ANY());
#endif