summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-25 08:00:48 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-25 08:00:48 +0900
commit953eec60dbdffbce44f7254a2345347bf9736fee (patch)
treebea733c47b0f766eb79797a33f232b35e8b0f0f6 /include
parent4faaef437d614ad270f646ccbd5a80fd80d4359e (diff)
downloadmruby-953eec60dbdffbce44f7254a2345347bf9736fee.tar.gz
mruby-953eec60dbdffbce44f7254a2345347bf9736fee.zip
rename MRB_ARGS_XXX to MRB_ASPEC_XXX; ref #1206
Diffstat (limited to 'include')
-rw-r--r--include/mruby/proc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/mruby/proc.h b/include/mruby/proc.h
index 4f1b6509f..2d663afef 100644
--- a/include/mruby/proc.h
+++ b/include/mruby/proc.h
@@ -31,13 +31,13 @@ struct RProc {
};
/* aspec access */
-#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_ASPEC_REQ(a) (((a) >> 19) & 0x1f)
+#define MRB_ASPEC_OPT(a) (((a) >> 14) & 0x1f)
+#define MRB_ASPEC_REST(a) ((a) & (1<<13))
+#define MRB_ASPEC_POST(a) (((a) >> 8) & 0x1f)
+#define MRB_ASPEC_KEY(a) (((a) >> 3) & 0x1f))
+#define MRB_ASPEC_KDICT(a) ((a) & (1<<2))
+#define MRB_ASPEC_BLOCK(a) ((a) & (1<<1))
#define MRB_PROC_CFUNC 128
#define MRB_PROC_CFUNC_P(p) ((p)->flags & MRB_PROC_CFUNC)