libnds
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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, fmt,...)   ((e) ? (void)0 : __sassert (__FILE__, __LINE__, #e, fmt, ##__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.