|
StuBS
|
Functions | |
| void | assertion_failed (const char *exp, const char *func, const char *file, int line) |
| Handles a failed assertion. | |
| void assertion_failed | ( | const char * | exp, |
| const char * | func, | ||
| const char * | file, | ||
| int | line | ||
| ) |
Handles a failed assertion.
This function will print a message containing further information about the failed assertion and stops the current CPU permanently.
assert.| exp | Expression that did not hold |
| func | Name of the function in which the assertion failed |
| file | Name of the file in which the assertion failed |
| line | Line in which the assertion failed |