5 ms·
Sometimes I use something like: #define ALLOC(n, type) (type)malloc(n sizeof(type)) which makes it harder to have those types of bugs, though not impossible.
by mdergosits 10y ago
Sometimes I use something like:
#define ALLOC(n, type) (type)malloc(n sizeof(type))
which makes it harder to have those types of bugs, though not impossible.