90 |
|
|
91 |
/** ------------------------------------------ Simple Assert Exception macro */ |
/** ------------------------------------------ Simple Assert Exception macro */ |
92 |
|
|
93 |
#define ASSERT(e) if(e) { error("AssertException: at %s:%d\naborting..\n", \ |
#define ASSERT(e) if(!(e)) { error("AssertException: at %s:%d\naborting..\n", \ |
94 |
__FILE__, __LINE__); abort(); } |
__FILE__, __LINE__); abort(); } |
95 |
|
|
96 |
/* --------------------------------------------------------- Data structures */ |
/* --------------------------------------------------------- Data structures */ |