summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-24 14:04:19 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-24 14:04:19 +0000
commit41e4abd8e288135291940b1765c485a707618c20 (patch)
treeb1e95b031dfc808c4998264e298d095bc7572532 /proto.h
parentc80263a809faf4e39544f5f3f44ed7181a92391b (diff)
downloadperl-41e4abd8e288135291940b1765c485a707618c20.tar.gz
Extend DEBUG_LEAKING_SCALARS_FORK_DUMP so it can also dump scalars
which become unreferenced. This is less likely to be successful. The #define needs a better name. p4raw-id: //depot/perl@24976
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 36a0c41742..7b060cf0d3 100644
--- a/proto.h
+++ b/proto.h
@@ -2989,6 +2989,10 @@ PERL_CALLCONV bool Perl_stashpv_hvname_match(pTHX_ const COP *cop, const HV *hv)
__attribute__nonnull__(pTHX_2);
+#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
+PERL_CALLCONV void Perl_dump_sv_child(pTHX_ SV *sv);
+#endif
+
END_EXTERN_C
/*
* ex: set ts=8 sts=4 sw=4 noet: