From 2396b7a62fc12ef70933872667020b3784cb9e2e Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 26 Feb 2024 15:34:11 -0500 Subject: [PATCH] Change is_live_object to return a bool --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 58e79e5bc0..8fdf96503a 100644 --- a/gc.c +++ b/gc.c @@ -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)) {