summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 2b844479e1..a3f1e9975c 100644
--- a/gc.c
+++ b/gc.c
@@ -9049,6 +9049,13 @@ rb_obj_info(VALUE obj)
}
}
+void
+rb_obj_info_dump(VALUE obj)
+{
+ char buff[0x100];
+ fprintf(stderr, "rb_obj_info_dump: %s\n", rb_raw_obj_info(buff, 0x100, obj));
+}
+
#if GC_DEBUG
void