X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FmemoryDebug.h;h=9a3adac767e3b589812571bd74157a3bf247367d;hb=706e48b1e666054030c491d864f740071e390038;hp=c07d494cbf03c9d9e8e1920edcd72f0c379fea2e;hpb=b53d0c5f88063f075a48a0426f9d5d6b3490b9fc;p=NeonServV5.git diff --git a/src/memoryDebug.h b/src/memoryDebug.h index c07d494..9a3adac 100644 --- a/src/memoryDebug.h +++ b/src/memoryDebug.h @@ -22,12 +22,12 @@ #define strdup(data) xstrdup (data, __FILE__, __LINE__) #define free(mem_ref) xfree(mem_ref) -void *xmalloc(unsigned int size, const char *file, unsigned int line); -void *xcalloc(unsigned int elements, unsigned int size, const char *file, unsigned int line); -char *xstrdup(const char *data, const char *file, unsigned int line); -void xfree(void *mem_ref); +#ifndef DND_FUNCTIONS +/* MODULAR ACCESSIBLE */ void *xmalloc(unsigned int size, const char *file, unsigned int line); +/* MODULAR ACCESSIBLE */ void *xcalloc(unsigned int elements, unsigned int size, const char *file, unsigned int line); +/* MODULAR ACCESSIBLE */ char *xstrdup(const char *data, const char *file, unsigned int line); +/* MODULAR ACCESSIBLE */ void xfree(void *mem_ref); -void report_mem_leak(); void initMemoryDebug(); - +#endif #endif