Skip to content

Commit 8f8c174

Browse files
committed
Use MRB_ARGS_REST() instead of ARGS_REST()
According to include/mruby.h, /* compatibility macros; will be removed */ #define ARGS_REST() MRB_ARGS_REST()
1 parent bbee56f commit 8f8c174

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/mruby.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ struct RClass * mrb_define_module_under(mrb_state *mrb, struct RClass *outer, co
218218
#define MRB_ARGS_BLOCK() ((mrb_aspec)1)
219219

220220
/* accept any number of arguments */
221-
#define MRB_ARGS_ANY() ARGS_REST()
221+
#define MRB_ARGS_ANY() MRB_ARGS_REST()
222222
/* accept no arguments */
223223
#define MRB_ARGS_NONE() ((mrb_aspec)0)
224224

0 commit comments

Comments
 (0)