Change is_live_object to return a bool

This commit is contained in:
Peter Zhu 2024-02-26 15:34:11 -05:00
parent 9ba53cb688
commit 2396b7a62f

2
gc.c
View File

@ -4394,7 +4394,7 @@ is_garbage_object(rb_objspace_t *objspace, VALUE ptr)
}
}
static inline int
static inline bool
is_live_object(rb_objspace_t *objspace, VALUE ptr)
{
switch (BUILTIN_TYPE(ptr)) {