// DefineModule defines a top-level module. func (m *Mrb) DefineModule(name string) *Class { cs := C.CString(name) defer C.free(unsafe.Pointer(cs)) return newClass(m, C.mrb_define_module(m.state, cs)) }
// DefineModule defines a top-level module. func (m *Mrb) DefineModule(name string) *Class { return newClass(m, C.mrb_define_module(m.state, C.CString(name))) }