mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
replace RTEST() by mrb_test_p()
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user