summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-09-25 23:55:55 +0900
committerGitHub <[email protected]>2019-09-25 23:55:55 +0900
commit9bf193b49a43abb9439630786a8312ac876d2cbe (patch)
treedde01381e7ae0abbc6de9c9378514ff07aef8197 /include
parent5c381032b0fffac2c8918a32438d16549aa10067 (diff)
parent27e8ea4ea2aa2b3619d569a710f83b49a7dfc783 (diff)
downloadmruby-9bf193b49a43abb9439630786a8312ac876d2cbe.tar.gz
mruby-9bf193b49a43abb9439630786a8312ac876d2cbe.zip
Merge pull request #4728 from shuujii/remove-MRB_TT_HAS_BASIC-macro
Remove `MRB_TT_HAS_BASIC` macro
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)