From d2780443c64e058f0840c3ab7ea6a0a8c12e7343 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 19 Oct 2012 22:09:33 +0000 Subject: Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command. git-svn-id: http://mc-server.googlecode.com/svn/trunk@984 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/LeakFinder.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/LeakFinder.h') diff --git a/source/LeakFinder.h b/source/LeakFinder.h index 6743adda0..42af4f910 100644 --- a/source/LeakFinder.h +++ b/source/LeakFinder.h @@ -143,3 +143,13 @@ ZZZ_LeakFinder zzz_LeakFinder; #endif #endif // __cplusplus + + + + +extern void DumpUsedMemory(LeakFinderOutput * output = NULL); + + + + + -- cgit v1.2.3