mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove #new from immediate classes
This commit is contained in:
@@ -294,6 +294,7 @@ void mrb_define_class_method(mrb_state *, struct RClass *, const char *, mrb_fun
|
||||
void mrb_define_singleton_method(mrb_state*, struct RObject*, const char*, mrb_func_t,int);
|
||||
void mrb_define_module_function(mrb_state*, struct RClass*, const char*, mrb_func_t,int);
|
||||
void mrb_define_const(mrb_state*, struct RClass*, const char *name, mrb_value);
|
||||
void mrb_undef_method(mrb_state*, struct RClass*, const char*);
|
||||
mrb_value mrb_instance_new(mrb_state *mrb, mrb_value cv);
|
||||
struct RClass * mrb_class_new(mrb_state *mrb, struct RClass *super);
|
||||
struct RClass * mrb_module_new(mrb_state *mrb);
|
||||
|
||||
Reference in New Issue
Block a user