Merge pull request #1921 from cubicdaiya/issues/not_use_old_macro

Use MRB_ARGS_REST() instead of ARGS_REST()
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-03-23 16:36:47 +09:00
+1 -1
View File
@@ -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)