Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

dbug_mem.h

00001 /*
00002  * Author: Stefan Bambach <sbambach@gmx.net>
00003  * 
00004  * Wrapper around some runtime memory debugger
00005  */
00006  
00007 #ifndef __DBUG_MEM_H__
00008 #define __DBUG_MEM_H__
00009 
00010 #ifdef MEMWATCH
00011    #include "memwatch.h"
00012 #endif
00013 
00014 #ifdef DMALLOC
00015    #include "dmalloc.h"
00016 #endif
00017 
00018 #ifdef MEMCHECK
00019    #include "memcheck.h"
00020 #endif
00021 
00022 #ifdef DEBUG
00023    #define DBUG_MEM_INIT() dbug_mem_init()
00024    #define DBUG_MEM_QUIT() dbug_mem_quit()
00025 #else
00026    #define DBUG_MEM_INIT()
00027    #define DBUG_MEM_QUIT()
00028 #endif
00029 
00030 void dbug_mem_init(void);
00031 void dbug_mem_quit(void);
00032 
00033 #endif

Generated on Thu May 27 23:27:28 2004 for Mntd by doxygen 1.3.5