diff options
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -27,11 +27,6 @@ #include "dbmail.h" -#ifdef USE_GC -#define GC_DEBUG -#include <gc/gc.h> -#endif - typedef enum { TRACE_FATAL = 0, TRACE_ERROR, @@ -55,23 +50,6 @@ typedef enum { #endif -#ifdef USE_GC - -#define dm_malloc(s) GC_MALLOC(s) -#define dm_free(p) GC_FREE(p) -#define dm_calloc(n,p) GC_MALLOC((n) * (p)) -#define dm_realloc(n,p) GC_REALLOC((n),(p)) - -#else - -#define dm_malloc(s) g_malloc(s) -#define dm_free(p) g_free(p) -#define dm_calloc(n,p) g_malloc0(n,p) -#define dm_realloc(n,p) g_realloc(n,p) - -#endif - - #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) void trace(trace_t level, const char * module, const char * file, const char * function, @@ -79,6 +57,4 @@ void trace(trace_t level, const char * module, void configure_debug(trace_t trace_syslog, trace_t trace_stderr); -#define dm_strdup(s) g_strdup(s) - #endif |