summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2016-08-10 09:12:44 +0900
committerGitHub <[email protected]>2016-08-10 09:12:44 +0900
commitd8189c2b198b3441ac2d990b412b9c41447d75bc (patch)
tree7b998c32e38727b8a9ef1ea9a4c3c9a523e2025e /src
parentb341ee7c1217d314af673a280e099c222b1c5727 (diff)
parent024b09de0c3bf9019bf31ccaa4cd4e150b0113da (diff)
downloadmruby-d8189c2b198b3441ac2d990b412b9c41447d75bc.tar.gz
mruby-d8189c2b198b3441ac2d990b412b9c41447d75bc.zip
Merge pull request #64 from asfluido/master
Apparently, in mruby-process gem, Process is now a Module, not a Class
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 264ded8ad..c9b1a8eb6 100644
--- a/src/io.c
+++ b/src/io.c
@@ -78,7 +78,7 @@ io_set_process_status(mrb_state *mrb, pid_t pid, int status)
c_status = NULL;
if (mrb_class_defined(mrb, "Process")) {
- c_process = mrb_class_get(mrb, "Process");
+ c_process = mrb_module_get(mrb, "Process");
if (mrb_const_defined(mrb, mrb_obj_value(c_process), mrb_intern_cstr(mrb, "Status"))) {
c_status = mrb_class_get_under(mrb, c_process, "Status");
}