summaryrefslogtreecommitdiff
path: root/debug_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug_counter.h')
-rw-r--r--debug_counter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug_counter.h b/debug_counter.h
index ef35c55e6e..3fa644828d 100644
--- a/debug_counter.h
+++ b/debug_counter.h
@@ -350,6 +350,7 @@ rb_debug_counter_add(enum rb_debug_counter_type type, int add, int cond)
}
VALUE rb_debug_counter_reset(void);
+VALUE rb_debug_counter_show(void);
#define RB_DEBUG_COUNTER_INC(type) rb_debug_counter_add(RB_DEBUG_COUNTER_##type, 1, 1)
#define RB_DEBUG_COUNTER_INC_UNLESS(type, cond) (!rb_debug_counter_add(RB_DEBUG_COUNTER_##type, 1, !(cond)))