|
Defines |
| #define | ATTRIBUTE(a, func) func __attribute__ ((a)) |
| #define | ALIGN(ament, func) ATTRIBUTE(aligned(ament), func) |
| #define | FREEZE Freeze(0) |
| #define | MAASSERT(a) do{ if(!(a)) BIG_PHAT_ERROR; }while(0) |
| #define | BIG_PHAT_ERROR BIG_PHAT_ERROR_VAL(6) |
| #define | BIG_PHAT_ERROR_VAL(value) bfeHandler(value, FileNameFromPath(__FILE__), __LINE__) |
| #define | PANIC_MESSAGE(msg) panicFunction((msg), __FUNCTION__) |
| #define | ASSERT_MSG(cond, msg) do{ if(!(cond)) PANIC_MESSAGE(msg); }while(0) |
Functions |
| const char * | FileNameFromPath (const char *path) |
| void | Freeze (int val) __attribute__((noreturn)) |
| void | bfeHandler (int val, const char *filename, int line) __attribute__((noreturn)) |
| void | panicFunction (const char *msg, const char *function) __attribute__((noreturn)) |