replace manual malloc checks, etc with assert
Closed this issue · 2 comments
offlinemark commented
you can use
#include <assert.h>
assert(condition && "error message")
offlinemark commented
Closed this issue · 2 comments
you can use
#include <assert.h>
assert(condition && "error message")