Go to the source code of this file.
Macros | |
#define | wcalloc(TYPE, SIZE) ((TYPE *)safe_wcalloc(sizeof(TYPE),(SIZE))) |
#define | walloc(TYPE, SIZE) wcalloc(TYPE,SIZE) |
#define | wrealloc(PTR, TYPE, SIZE) ((TYPE *)safe_wrealloc((void *)(PTR), sizeof(TYPE)*(SIZE))) |
Functions | |
void * | safe_walloc (size_t size) |
void * | safe_wcalloc (size_t num, size_t size) |
void * | safe_wrealloc (void *ptr, size_t size) |
char * | wstrdup (const char *s) |
void | wfree (void *p) |
void | debug_memory_summary () |
#define wcalloc | ( | TYPE, | |
SIZE | |||
) | ((TYPE *)safe_wcalloc(sizeof(TYPE),(SIZE))) |
Definition at line 51 of file EST_walloc.h.
Definition at line 52 of file EST_walloc.h.
#define wrealloc | ( | PTR, | |
TYPE, | |||
SIZE | |||
) | ((TYPE *)safe_wrealloc((void *)(PTR), sizeof(TYPE)*(SIZE))) |
Definition at line 53 of file EST_walloc.h.
void debug_memory_summary | ( | ) |