class.c: define const_added method (with empty body)

This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-04-18 22:56:26 +09:00
parent 6e1538ce3a
commit 03719490eb
+1
View File
@@ -3191,6 +3191,7 @@ mrb_init_class(mrb_state *mrb)
mrb_define_private_method_id(mrb, mod, MRB_SYM(method_added), mrb_do_nothing, MRB_ARGS_REQ(1));
mrb_define_private_method_id(mrb, mod, MRB_SYM(method_removed), mrb_do_nothing, MRB_ARGS_REQ(1));
mrb_define_private_method_id(mrb, mod, MRB_SYM(method_undefined), mrb_do_nothing, MRB_ARGS_REQ(1));
mrb_define_private_method_id(mrb, mod, MRB_SYM(const_added), mrb_do_nothing, MRB_ARGS_REQ(1));
mrb_undef_method_id(mrb, cls, MRB_SYM(append_features));
mrb_undef_method_id(mrb, cls, MRB_SYM(prepend_features));