|
Definiciones |
#define | XALLOC_LVL 2 |
#define | __XALLOC_XFUNCS |
#define | __XALLOC_SRCNAME |
#define | XALLOC_BLK_NOT_CORRUPTED 0 |
#define | XALLOC_BLK_CORRUPTED_START 1 |
#define | XALLOC_BLK_CORRUPTED_END 2 |
#define | XALLOC_BLK_CORRUPTED 3 |
#define | XALLOC_BLK_NULLPTR 4 |
#define | XALLOC_HEAP_NOT_CORRUPTED 0 |
#define | XALLOC_HEAP_CORRUPTED 5 |
#define | XALLOC_HEAP_WRITE_IN_FREE_MEM 6 |
#define | XALLOC_HEAP_VERY_CORRUPTED 7 |
#define | IFLARGS char *srcname, int line |
#define | IFLPARAM __FILE__,__LINE__ |
#define | FLARGS ,char *srcname, int line |
#define | FLPARAM ,__FILE__,__LINE__ |
#define | xmalloc(unsigned_long_size) _xmalloc_src(unsigned_long_size FLPARAM) |
#define | xcalloc(unsigned_long_nitems, unsigned_long_size) _xcalloc_src(unsigned_long_nitems,unsigned_long_size FLPARAM) |
#define | xfree(void_ptr_block) _xfree_src(void_ptr_block FLPARAM) |
#define | xstrdup(const_char_ptr_str) _xstrdup_src(const_char_ptr_str FLPARAM) |
#define | xblksize(void_ptr_block) _xblksize_src(void_ptr_block FLPARAM) |
#define | assertblk(void_ptr_block) _assertblk_src(void_ptr_block FLPARAM) |
#define | assertheap() _assertheap_src(FLPARAM) |
#define | heapcmd(cmd) { assertheap(); cmd; fillheap(); } |
#define | xblk2disk(char_ptr_fname, void_ptr_block) _xblk2disk_src(char_ptr_fname,void_ptr_block FLPARAM) |
#define | xdisk2blk(char_ptr_fname) _xdisk2blk_src(char_ptr_fname FLPARAM) |
Funciones |
void * | _xmalloc_src (unsigned long size FLARGS) |
void * | _xcalloc_src (unsigned long nitems, unsigned long size FLARGS) |
void | _xfree_src (void *block FLARGS) |
char * | _xstrdup_src (const char *str FLARGS) |
unsigned long | _xblksize_src (void *block FLARGS) |
void | _xblk2disk_src (char *fname, void *block FLARGS) |
void * | _xdisk2blk_src (char *fname FLARGS) |
void | _assertblk_src (void *block FLARGS) |
void | _assertheap_src (IFLARGS) |
unsigned long | xusedmem (void) |
int | testblk (void *block) |
void | fillheap (void) |
unsigned long | xusedheap (void) |
int | testheap (void) |
void | xalloc_logf (int on) |
void | xalloc_heapcheck (int on) |
void | xalloc_showmem (int on) |
void | xalloc_showheap (int on) |
void | xalloc_showfree (int on) |