summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-09-25 18:17:01 +0900
committerKOBAYASHI Shuji <[email protected]>2019-09-25 18:17:01 +0900
commit27e8ea4ea2aa2b3619d569a710f83b49a7dfc783 (patch)
tree2401531bfde5637f857df2a64f30faf7cc7249f2 /include
parent3c1a2612e739a73c4c1be090aecfcbd2e9c0a7f8 (diff)
downloadmruby-27e8ea4ea2aa2b3619d569a710f83b49a7dfc783.tar.gz
mruby-27e8ea4ea2aa2b3619d569a710f83b49a7dfc783.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/value.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/mruby/value.h b/include/mruby/value.h
index 56dc20d79..72059be63 100644
--- a/include/mruby/value.h
+++ b/include/mruby/value.h
@@ -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)