summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-11-04 04:53:25 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-11-04 04:53:25 +0900
commit051777dc5de7e16ab28d39530fc0bb8101323e2c (patch)
tree3976c3e256c064f109a3fdeafa046097e5cc8300 /include
parentda88627a37cb1d5ca8d31bb14f3b3d8bb4d7e33e (diff)
downloadmruby-051777dc5de7e16ab28d39530fc0bb8101323e2c.tar.gz
mruby-051777dc5de7e16ab28d39530fc0bb8101323e2c.zip
replace SYMBOL_P() by mrb_symbol_p()
Diffstat (limited to 'include')
-rw-r--r--include/mruby/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/value.h b/include/mruby/value.h
index 1e0316a90..a6d0aab12 100644
--- a/include/mruby/value.h
+++ b/include/mruby/value.h
@@ -159,7 +159,7 @@ mrb_float_value(mrb_float f)
#define IMMEDIATE_P(x) (mrb_type(x) <= MRB_TT_MAIN)
#define SPECIAL_CONST_P(x) IMMEDIATE_P(x)
-#define SYMBOL_P(o) (mrb_type(o) == MRB_TT_SYMBOL)
+#define mrb_symbol_p(o) (mrb_type(o) == MRB_TT_SYMBOL)
#define RTEST(o) mrb_test(o)
#define FL_ABLE(x) (!SPECIAL_CONST_P(x))