(thanks to the people reading git and excessively exploiting this bug... It was undet...
[NeonServV5.git] / src / memoryDebug.h
index c07d494cbf03c9d9e8e1920edcd72f0c379fea2e..456ed2a1995b0513cdcffbd3c148c24eaf7c212d 100644 (file)
@@ -1,4 +1,4 @@
-/* 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