libnds
Loading...
Searching...
No Matches
Macros
sassert.h File Reference

Simple assertion with a message that disappears if NDEBUG is defined. More...

#include <sys/cdefs.h>

Macros

#define sassert(e, ...)   ((e) ? (void)0 : __sassert (__FILE__, __LINE__, #e, __VA_ARGS__))
 Causes a blue screen of death if e is not true with the msg "msg" displayed.
 

Detailed Description

Simple assertion with a message that disappears if NDEBUG is defined.