2 ms·
> #define mycalloc(N) calloc(1, N) I am not a fan of the use of macros here. You should never use macros. Instead maybe: static inline void *mycalloc(size_t s
by cptaffe 11y ago
> #define mycalloc(N) calloc(1, N)
I am not a fan of the use of macros here. You should never use macros.
Instead maybe: static inline void *mycalloc(size_t sz) { return calloc(1, sz); }