diff options
author | Tobias Klauser <tklauser@radon.tklauser.home> | 2010-03-08 23:08:41 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@radon.tklauser.home> | 2010-03-08 23:08:41 +0100 |
commit | 0a2822d4ad8721673e31d122549e9426105b0289 (patch) | |
tree | 19fc78109687cecc80f77363d31e0aa5484d01da /memdebug/memdebug.h | |
parent | dbd23d3a6263ad4c79915757b903835ab5ab28d0 (diff) |
memdebug rework
Diffstat (limited to 'memdebug/memdebug.h')
-rw-r--r-- | memdebug/memdebug.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/memdebug/memdebug.h b/memdebug/memdebug.h index 3ae1159..7a816c0 100644 --- a/memdebug/memdebug.h +++ b/memdebug/memdebug.h @@ -23,11 +23,9 @@ struct memdebug_heap_item { const char *file; unsigned int line; -#ifdef MEMDEBUG_TRACE_DOUBLE_FREE const char *freed_func; const char *freed_file; unsigned int freed_line; -#endif }; #define memdebug_malloc(size) \ @@ -39,6 +37,6 @@ void *__memdebug_malloc(size_t size, const char *func, const char *file, const unsigned int line); void __memdebug_free(void *ptr, const char *func, const char *file, const unsigned int line); -void memdebug_report(void); +void memdebug_report(int report_all); #endif /* _MEMDEBUG_H_ */ |