aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2021-11-10 00:57:03 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-11-10 10:08:30 +0900
commite8086e275b9a4896ac57dfeac9b22cbc2741d6d1 (patch)
tree5135c4a152a1588bd0bb149a13e7f2ca386696be /internal
parent5c892da7d7974aeed8e7dd97bb31d2394cc19356 (diff)
downloadruby-e8086e275b9a4896ac57dfeac9b22cbc2741d6d1.tar.gz
gc.h: move rb_objspace_garbage_object_p to internal/gc.h
... to allow class.c to use the function
Diffstat (limited to 'internal')
-rw-r--r--internal/gc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/gc.h b/internal/gc.h
index 49b12db2df..b7b29214cf 100644
--- a/internal/gc.h
+++ b/internal/gc.h
@@ -99,6 +99,7 @@ VALUE rb_class_allocate_instance(VALUE klass);
void rb_gc_ractor_newobj_cache_clear(rb_ractor_newobj_cache_t *newobj_cache);
size_t rb_gc_obj_slot_size(VALUE obj);
bool rb_gc_size_allocatable_p(size_t size);
+int rb_objspace_garbage_object_p(VALUE obj);
RUBY_SYMBOL_EXPORT_BEGIN
/* gc.c (export) */