Added documentation for mrb_singleton_class()

This commit is contained in:
dearblue
2022-10-06 21:56:07 +09:00
parent 52562f7dcc
commit dbc78cd861
2 changed files with 11 additions and 2 deletions
-2
View File
@@ -1649,8 +1649,6 @@ mrb_mod_dummy_visibility(mrb_state *mrb, mrb_value mod)
return mod;
}
/* returns mrb_class_ptr(mrb_singleton_class()) */
/* except that it return NULL for immediate values */
MRB_API struct RClass*
mrb_singleton_class_ptr(mrb_state *mrb, mrb_value v)
{