mrb_define_module

Function mrb_define_module 

Source
pub unsafe extern "C" fn mrb_define_module(
    mrb: *mut mrb_state,
    name: *const c_char,
) -> *mut RClass
Expand description

Defines a new module.

@param mrb The current mruby state. @param name The name of the module. @return [struct RClass *] Reference to the newly defined module.