mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
no need to pre-allocate method table
This commit is contained in:
@@ -845,7 +845,6 @@ struct RClass *
|
||||
mrb_module_new(mrb_state *mrb)
|
||||
{
|
||||
struct RClass *m = mrb_obj_alloc(mrb, MRB_TT_MODULE, mrb->module_class);
|
||||
m->mt = kh_init(mt, mrb);
|
||||
make_metaclass(mrb, m);
|
||||
|
||||
return m;
|
||||
|
||||
Reference in New Issue
Block a user