From 31ee824ef45868c9891e91f5f9ea1d21e9da1d6b Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 6 Oct 2015 16:22:54 +0000 Subject: * gc.h, gc.c: introduce new debug function rb_obj_info_dump(VALUE obj) which prints the result of rb_raw_obj_info(..., obj). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gc.h') diff --git a/gc.h b/gc.h index d1021df444..c723106137 100644 --- a/gc.h +++ b/gc.h @@ -88,6 +88,7 @@ int ruby_get_stack_grow_direction(volatile VALUE *addr); const char *rb_obj_info(VALUE obj); const char *rb_raw_obj_info(char *buff, const int buff_size, VALUE obj); +void rb_obj_info_dump(VALUE obj); RUBY_SYMBOL_EXPORT_BEGIN -- cgit v1.2.3