![]() |
RTEMS 6.1
|
This group contains the Assert Handler implementation. More...
Files | |
| file | assert.h |
| This header file provides the interfaces of the Assert Handler. | |
Macros | |
| #define | _Assert(_e) ( ( void ) 0 ) |
| Assertion similar to assert() controlled via RTEMS_DEBUG instead of NDEBUG and static analysis runs. | |
| #define | _Assert_Unused_variable_equals(_var, _val) |
| Assert if unused return value is equal. | |
| #define | _Assert_Unused_variable_unequal(_var, _val) |
| Assert if unused return value is not equal. | |
This group contains the Assert Handler implementation.
| #define _Assert_Unused_variable_equals | ( | _var, | |
| _val | |||
| ) |
Assert if unused return value is equal.
Assert whether _var and _val are equal and ensure _var is marked as used when not building for debug.
| _var | The return value to be checked. |
| _val | Indicates what _var is supposed to be. |
| #define _Assert_Unused_variable_unequal | ( | _var, | |
| _val | |||
| ) |
Assert if unused return value is not equal.
Assert whether _var and _val are not equal and ensure _var is marked as used when not building for debug.
| _var | The return value to be checked. |
| _val | Indicates what _var is not supposed to be. |