mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use MRB_ARGS_REST() instead of ARGS_REST()
According to include/mruby.h, /* compatibility macros; will be removed */ #define ARGS_REST() MRB_ARGS_REST()
This commit is contained in:
+1
-1
@@ -218,7 +218,7 @@ struct RClass * mrb_define_module_under(mrb_state *mrb, struct RClass *outer, co
|
||||
#define MRB_ARGS_BLOCK() ((mrb_aspec)1)
|
||||
|
||||
/* accept any number of arguments */
|
||||
#define MRB_ARGS_ANY() ARGS_REST()
|
||||
#define MRB_ARGS_ANY() MRB_ARGS_REST()
|
||||
/* accept no arguments */
|
||||
#define MRB_ARGS_NONE() ((mrb_aspec)0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user