From 4faaef437d614ad270f646ccbd5a80fd80d4359e Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 25 Apr 2013 07:50:01 +0900 Subject: rename ARGS_GETXXX macros to avoid potential name conflict; close #1206 --- include/mruby/proc.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/mruby/proc.h b/include/mruby/proc.h index 745d56b6b..4f1b6509f 100644 --- a/include/mruby/proc.h +++ b/include/mruby/proc.h @@ -31,13 +31,13 @@ struct RProc { }; /* aspec access */ -#define ARGS_GETREQ(a) (((a) >> 19) & 0x1f) -#define ARGS_GETOPT(a) (((a) >> 14) & 0x1f) -#define ARGS_GETREST(a) ((a) & (1<<13)) -#define ARGS_GETPOST(a) (((a) >> 8) & 0x1f) -#define ARGS_GETKEY(a) (((a) >> 3) & 0x1f)) -#define ARGS_GETKDICT(a) ((a) & (1<<2)) -#define ARGS_GETBLOCK(a) ((a) & (1<<1)) +#define MRB_ARGS_REQ(a) (((a) >> 19) & 0x1f) +#define MRB_ARGS_OPT(a) (((a) >> 14) & 0x1f) +#define MRB_ARGS_REST(a) ((a) & (1<<13)) +#define MRB_ARGS_POST(a) (((a) >> 8) & 0x1f) +#define MRB_ARGS_KEY(a) (((a) >> 3) & 0x1f)) +#define MRB_ARGS_KDICT(a) ((a) & (1<<2)) +#define MRB_ARGS_BLOCK(a) ((a) & (1<<1)) #define MRB_PROC_CFUNC 128 #define MRB_PROC_CFUNC_P(p) ((p)->flags & MRB_PROC_CFUNC) -- cgit v1.2.3