aboutsummaryrefslogtreecommitdiffstats
path: root/gc.h
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 /gc.h
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 'gc.h')
-rw-r--r--gc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gc.h b/gc.h
index 1ae7733e53..91d6e5787d 100644
--- a/gc.h
+++ b/gc.h
@@ -127,7 +127,6 @@ void rb_objspace_reachable_objects_from_root(void (func)(const char *category, V
int rb_objspace_markable_object_p(VALUE obj);
int rb_objspace_internal_object_p(VALUE obj);
int rb_objspace_marked_object_p(VALUE obj);
-int rb_objspace_garbage_object_p(VALUE obj);
void rb_objspace_each_objects(
int (*callback)(void *start, void *end, size_t stride, void *data),