libnds
Macros
sassert.h File Reference

Simple assertion with a message conplies to nop if NDEBUG is defined. More...

#include "_ansi.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 conplies to nop if NDEBUG is defined.