Commit 8746cb2a authored by Masamitsu MURASE's avatar Masamitsu MURASE

Initialize mt of module with khash.

parent 660f64b1
......@@ -1065,6 +1065,7 @@ struct RClass *
mrb_module_new(mrb_state *mrb)
{
struct RClass *m = (struct RClass*)mrb_obj_alloc(mrb, MRB_TT_MODULE, mrb->module_class);
m->mt = kh_init(mt, mrb);
return m;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment