summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-11-04 05:05:53 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-11-04 05:05:53 +0900
commit15304c194d86544cc7cc7138cec1bf4bdcbcaeb5 (patch)
tree5e707bc94923967786db3b872645303c9ccbfb53 /include
parentd2d2e9f5f9267c2583aa542b4066d109a07b742e (diff)
downloadmruby-15304c194d86544cc7cc7138cec1bf4bdcbcaeb5.tar.gz
mruby-15304c194d86544cc7cc7138cec1bf4bdcbcaeb5.zip
replace RTEST() by mrb_test_p()
Diffstat (limited to 'include')
-rw-r--r--include/mruby/value.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mruby/value.h b/include/mruby/value.h
index 99b40914b..75302792b 100644
--- a/include/mruby/value.h
+++ b/include/mruby/value.h
@@ -163,7 +163,6 @@ 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 RTEST(o) mrb_test(o)
#define FL_ABLE(x) (!SPECIAL_CONST_P(x))
#define FL_TEST(x,f) (FL_ABLE(x)?(RBASIC(x)->flags&(f)):0)