Fix `mrb_immediate_p()` definition for `MRB_NO_BOXING`; ref #5352

parent 787487b1
......@@ -177,7 +177,7 @@ struct RCptr {
#endif
#ifndef mrb_immediate_p
#define mrb_immediate_p(o) (mrb_type(o) < MRB_TT_FREE)
#define mrb_immediate_p(o) (mrb_type(o) < MRB_TT_CPTR)
#endif
#ifndef mrb_integer_p
#define mrb_integer_p(o) (mrb_type(o) == MRB_TT_INTEGER)
......
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