replace RTEST() by mrb_test_p()

This commit is contained in:
Yukihiro Matz Matsumoto
2012-11-04 05:05:53 +09:00
parent d2d2e9f5f9
commit 15304c194d
5 changed files with 7 additions and 8 deletions
-1
View File
@@ -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)