|
yahelpers
Enhanced debugging functionality for the ya ecosystem
|
Macros for runtime-assertion. More...
Macros | |
| #define | ASSERT_DEFAULT 0 |
| Print timestamp of the assert and abort on error. | |
| #define | ASSERT_NO_ABORT 1 |
| Specifies whether the assert will abort on error. | |
| #define | ASSERT_NO_TIMESTAMP 2 |
| Specifies whether the assert will print a timestamp on error. | |
| #define | ASSERT_FOR_TESTS 4 |
| Specifies whether the assert is CMocka-compatible. | |
| #define | ASSERT(cond, opts) |
| Prints a debug message if the condition cond is failed. | |
Macros for runtime-assertion.
| #define ASSERT | ( | cond, | |
| opts | |||
| ) |
Prints a debug message if the condition cond is failed.
| cond | The condition which is checked |
| opts | The option flags |
| #define ASSERT_DEFAULT 0 |
Print timestamp of the assert and abort on error.
| #define ASSERT_FOR_TESTS 4 |
Specifies whether the assert is CMocka-compatible.
| #define ASSERT_NO_ABORT 1 |
Specifies whether the assert will abort on error.
| #define ASSERT_NO_TIMESTAMP 2 |
Specifies whether the assert will print a timestamp on error.