40 #if !defined(__EST_WALLOC_H__) 41 #define __EST_WALLOC_H__ 42 #if defined(__cplusplus) 51 #define wcalloc(TYPE,SIZE) ((TYPE *)safe_wcalloc(sizeof(TYPE),(SIZE))) 52 #define walloc(TYPE,SIZE) wcalloc(TYPE,SIZE) 53 #define wrealloc(PTR,TYPE,SIZE) ((TYPE *)safe_wrealloc((void *)(PTR), sizeof(TYPE)*(SIZE))) 59 #if defined(__cplusplus) char * wstrdup(const char *s)
void debug_memory_summary()
void * safe_wrealloc(void *ptr, size_t size)
void * safe_wcalloc(size_t num, size_t size)
void * safe_walloc(size_t size)