summaryrefslogtreecommitdiff
path: root/gc.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-08-09 04:57:47 (GMT)
committerKoichi Sasada <ko1@atdot.net>2019-08-09 05:01:15 (GMT)
commit6bf8db9a07e95820705f7ec119f4038a529182ef (patch)
treeb5165573ca3ca4e4106754901d843d71545cf474 /gc.h
parentcb390e87dc682a277579f44fac6aea57e16e5f7a (diff)
add rp() and bp() in internal.h.
debug utility macro rp() (rp_m()) and bp() are introduced. * rp(obj) shows obj information w/o any side-effect to STDERR. * rp_m(m, obj) is similar to rp(obj), but show m before. * bp() is alias of ruby_debug_breakpoint(), which is registered as a breakpoint in run.gdb (used by `make gdb` or make gdb-ruby`).
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 018ad0e..0e7ffba 100644
--- a/gc.h
+++ b/gc.h
@@ -100,7 +100,6 @@ 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);
VALUE rb_gc_disable_no_rest(void);