|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
Common assertion and helper macros for LibJuno modules. More...


Go to the source code of this file.
Macros | |
| #define | JUNO_ASSERT_EXISTS(ptr) |
| Returns JUNO_STATUS_NULLPTR_ERROR if the expression is falsy. | |
| #define | JUNO_ASSERT_EXISTS_MODULE(ptr, ptMod, str) |
| Like JUNO_ASSERT_EXISTS but also calls the module's failure handler. | |
| #define | JUNO_ASSERT_SUCCESS(tStatus, ...) |
| Execute the provided failure operation(s) if status is not success. | |
Common assertion and helper macros for LibJuno modules.