-/* memoryDebug.h - NeonServ v5.3
+/* memoryDebug.h - NeonServ v5.6
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
#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