1
/* $Id: memdebug.h,v 1.3 2003/05/08 23:03:08 zas Exp $ */
3
#ifndef EL__UTIL_MEMDEBUG_H
4
#define EL__UTIL_MEMDEBUG_H
8
/* TODO: Another file? */
10
extern long mem_amount;
12
void *debug_mem_alloc(unsigned char *, int, size_t);
13
void *debug_mem_calloc(unsigned char *, int, size_t, size_t);
14
void debug_mem_free(unsigned char *, int, void *);
15
void *debug_mem_realloc(unsigned char *, int, void *, size_t);
16
void set_mem_comment(void *, unsigned char *, int);
18
void check_memory_leaks(void);
21
#define set_mem_comment(p, c, l)
22
#endif /* LEAK_DEBUG */