mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
class.c (mrb_define_module_function): make instance method private
This commit is contained in:
+1
-1
@@ -1774,7 +1774,7 @@ MRB_API void
|
||||
mrb_define_module_function_id(mrb_state *mrb, struct RClass *c, mrb_sym name, mrb_func_t func, mrb_aspec aspec)
|
||||
{
|
||||
mrb_define_class_method_id(mrb, c, name, func, aspec);
|
||||
mrb_define_method_id(mrb, c, name, func, aspec);
|
||||
mrb_define_private_method_id(mrb, c, name, func, aspec);
|
||||
}
|
||||
|
||||
MRB_API void
|
||||
|
||||
Reference in New Issue
Block a user