summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcubicdaiya <[email protected]>2014-03-23 12:43:52 +0900
committercubicdaiya <[email protected]>2014-03-23 12:48:34 +0900
commit8f8c174fc24d7e07996729436ea24693dd310f7c (patch)
tree401ce1931f6811a4b05ddf6c18c33feaf0886211
parentbbee56f284f3c0df94fe7ec9ad116b266f7f5edd (diff)
downloadmruby-8f8c174fc24d7e07996729436ea24693dd310f7c.tar.gz
mruby-8f8c174fc24d7e07996729436ea24693dd310f7c.zip
Use MRB_ARGS_REST() instead of ARGS_REST()
According to include/mruby.h, /* compatibility macros; will be removed */ #define ARGS_REST() MRB_ARGS_REST()
-rw-r--r--include/mruby.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 5de47ae84..17d4f1e19 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -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)