Remove MRB_TT_HAS_BASIC macro

The value of `MRB_TT_HAS_BASIC` is meaningless because `MRB_TT_HAS_BASIC` is
no longer used with `MRB_WORD_BOXING` at b2c3d88f.
This commit is contained in:
KOBAYASHI Shuji
2019-09-25 18:17:01 +09:00
parent 3c1a2612e7
commit 27e8ea4ea2
+1 -3
View File
@@ -166,10 +166,8 @@ typedef void mrb_value;
#include "boxing_no.h"
#endif
#define MRB_TT_HAS_BASIC MRB_TT_FREE
#ifndef mrb_immediate_p
#define mrb_immediate_p(o) (mrb_type(o) < MRB_TT_HAS_BASIC)
#define mrb_immediate_p(o) (mrb_type(o) < MRB_TT_FREE)
#endif
#ifndef mrb_fixnum_p
#define mrb_fixnum_p(o) (mrb_type(o) == MRB_TT_FIXNUM)