summaryrefslogtreecommitdiffstats
path: root/gc.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-11-16 20:13:22 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-11-20 16:17:18 -0800
commitd89b907d2dc260bee706f787e05f55344b61785e (patch)
treeb96a139f233aca356e7dbb4fc15da484cc854baf /gc.h
parentbc85ec12271ecc273cb36e7ef35d071c364e46ab (diff)
downloadtxr-d89b907d2dc260bee706f787e05f55344b61785e.tar.gz
txr-d89b907d2dc260bee706f787e05f55344b61785e.tar.bz2
txr-d89b907d2dc260bee706f787e05f55344b61785e.zip
Useful debugging function for spurious retention.
* gc.c (gc_report_copies): New function * gc.h (gc_report_copies): Declared.
Diffstat (limited to 'gc.h')
-rw-r--r--gc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gc.h b/gc.h
index a945da7d..0e8ac1f5 100644
--- a/gc.h
+++ b/gc.h
@@ -47,6 +47,7 @@ extern int full_gc;
void unmark(void);
void gc_hint_func(val *);
+void gc_report_copies(val *pvar);
extern int gc_enabled;
extern val **gc_prot_top;