mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix signature of mrb_class_new_instance()
dd925578c6 changed the order of arguments,
but it doesn't seem intentional.
This commit is contained in:
+1
-1
@@ -285,7 +285,7 @@ MRB_API void mrb_undef_class_method(mrb_state*, struct RClass*, const char*);
|
||||
MRB_API mrb_value mrb_obj_new(mrb_state *mrb, struct RClass *c, mrb_int argc, const mrb_value *argv);
|
||||
|
||||
/** See @ref mrb_obj_new */
|
||||
MRB_INLINE mrb_value mrb_class_new_instance(mrb_state *mrb, struct RClass *c, mrb_int argc, const mrb_value *argv)
|
||||
MRB_INLINE mrb_value mrb_class_new_instance(mrb_state *mrb, mrb_int argc, const mrb_value *argv, struct RClass *c)
|
||||
{
|
||||
return mrb_obj_new(mrb,c,argc,argv);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user