RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
Generic Checks

Checks for data types with an equality or inequality operator. More...

Macros

#define T_eq(a, ...)   T_flags_eq(0, a, __VA_ARGS__)
 
#define T_assert_eq(a, ...)   T_flags_eq(T_CHECK_STOP, a, __VA_ARGS__)
 
#define T_quiet_eq(a, ...)   T_flags_eq(T_CHECK_QUIET, a, __VA_ARGS__)
 
#define T_step_eq(s, a, ...)   T_flags_eq(T_CHECK_STEP(s), a, __VA_ARGS__)
 
#define T_step_assert_eq(s, a, ...)    T_flags_eq(T_CHECK_STEP(s) | T_CHECK_STOP, a, __VA_ARGS__)
 
#define T_ne(a, ...)   T_flags_ne(0, a, __VA_ARGS__)
 
#define T_assert_ne(a, ...)   T_flags_ne(T_CHECK_STOP, a, __VA_ARGS__)
 
#define T_quiet_ne(a, ...)   T_flags_ne(T_CHECK_QUIET, a, __VA_ARGS__)
 
#define T_step_ne(s, a, ...)   T_flags_ne(T_CHECK_STEP(s), a, __VA_ARGS__)
 
#define T_step_assert_ne(s, a, ...)    T_flags_ne(T_CHECK_STEP(s) | T_CHECK_STOP, a, __VA_ARGS__)
 

Detailed Description

Checks for data types with an equality or inequality operator.