mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add MRB_TT_HAS_BASIC_P macro to check whether a typetag has MRB_OBJECT_HEADER.
This commit is contained in:
@@ -469,6 +469,8 @@ mrb_cptr_value(struct mrb_state *mrb, void *p)
|
||||
#define mrb_voidp(o) mrb_cptr(o)
|
||||
#define mrb_voidp_p(o) mrb_cptr_p(o)
|
||||
|
||||
#define MRB_TT_HAS_BASIC_P(tt) ((tt) >= MRB_TT_HAS_BASIC)
|
||||
|
||||
static inline mrb_value
|
||||
mrb_false_value(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user