#define CHECK_RESIZE(cond,ptr,var_size,ret)\
do {if (cond) { \
if (!(ptr = realloc(ptr, var_size))) \
return ret; \
} \
} \
while(0)``` is there any thing wrong with this declairation syntaciticly ? im running this via gdb and for some reason its saying that the macro CHECK_RESIZE does not exist
#Macros
3 messages · Page 1 of 1 (latest)