1379
1379
__FILE__, __LINE__, __VA_ARGS__)
1381
1381
#ifdef USE_REAL_MALLOC
1382
#define emalloc(var,ty,x,str) (void) (var = (ty) malloc((size_t)(x)))
1383
#define ezalloc(var,ty,x,str) (void) (var = (ty) calloc((size_t)(x), 1))
1384
#define erealloc(var,ty,x,str) (void) (var = (ty) realloc((void *) var, (size_t)(x)))
1382
#define emalloc(var,ty,x) (void) (var = (ty) malloc((size_t)(x)))
1383
#define ezalloc(var,ty,x) (void) (var = (ty) calloc((size_t)(x), 1))
1384
#define erealloc(var,ty,x) (void) (var = (ty) realloc((void *) var, (size_t)(x)))
1386
#define emalloc(var,ty,x,str) (void) (var = (ty) emalloc_real((size_t)(x), str, #var, __FILE__, __LINE__))
1387
#define ezalloc(var,ty,x,str) (void) (var = (ty) ezalloc_real((size_t)(x), str, #var, __FILE__, __LINE__))
1388
#define erealloc(var,ty,x,str) (void) (var = (ty) erealloc_real((void *) var, (size_t)(x), str, #var, __FILE__, __LINE__))
1386
#define emalloc(var,ty,x) (void) (var = (ty) emalloc_real((size_t)(x), __func__, #var, __FILE__, __LINE__))
1387
#define ezalloc(var,ty,x) (void) (var = (ty) ezalloc_real((size_t)(x), __func__, #var, __FILE__, __LINE__))
1388
#define erealloc(var,ty,x) (void) (var = (ty) erealloc_real((void *) var, (size_t)(x), __func__, #var, __FILE__, __LINE__))
1391
1391
#define efree(p) free(p)