Commit 81e0c30c authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1921 from cubicdaiya/issues/not_use_old_macro

Use MRB_ARGS_REST() instead of ARGS_REST()
parents 9beef5fd 8f8c174f
...@@ -218,7 +218,7 @@ struct RClass * mrb_define_module_under(mrb_state *mrb, struct RClass *outer, co ...@@ -218,7 +218,7 @@ struct RClass * mrb_define_module_under(mrb_state *mrb, struct RClass *outer, co
#define MRB_ARGS_BLOCK() ((mrb_aspec)1) #define MRB_ARGS_BLOCK() ((mrb_aspec)1)
/* accept any number of arguments */ /* accept any number of arguments */
#define MRB_ARGS_ANY() ARGS_REST() #define MRB_ARGS_ANY() MRB_ARGS_REST()
/* accept no arguments */ /* accept no arguments */
#define MRB_ARGS_NONE() ((mrb_aspec)0) #define MRB_ARGS_NONE() ((mrb_aspec)0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment