Function mrb_define_singleton_method

Source
pub unsafe extern "C" fn mrb_define_singleton_method(
    mrb: *mut mrb_state,
    cla: *mut RObject,
    name: *const c_char,
    fun: mrb_func_t,
    aspec: mrb_aspec,
)
Expand description

Defines a singleton method

@see mrb_define_class_method