Unverified Commit 9bf193b4 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4728 from shuujii/remove-MRB_TT_HAS_BASIC-macro

Remove `MRB_TT_HAS_BASIC` macro
parents 5c381032 27e8ea4e
...@@ -166,10 +166,8 @@ typedef void mrb_value; ...@@ -166,10 +166,8 @@ typedef void mrb_value;
#include "boxing_no.h" #include "boxing_no.h"
#endif #endif
#define MRB_TT_HAS_BASIC MRB_TT_FREE
#ifndef mrb_immediate_p #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 #endif
#ifndef mrb_fixnum_p #ifndef mrb_fixnum_p
#define mrb_fixnum_p(o) (mrb_type(o) == MRB_TT_FIXNUM) #define mrb_fixnum_p(o) (mrb_type(o) == MRB_TT_FIXNUM)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment