I'm using NSAssert macro for Objective-C assertion, and it's the regular way to do this. But it's not work in C functions. What do I should use for this?
#include <assert.h>
...
assert(<expression>);
(reference)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With