A platform-independent library of useful data structures and functions.
More...
A platform-independent library of useful data structures and functions.
◆ MOS_LIB_ASSERT
#define MOS_LIB_ASSERT |
( |
| cond | ) |
|
Value:
#define MOS_LIB_ASSERT_X(cond, msg,...)
Definition at line 14 of file moslib_global.h.
◆ MOS_LIB_ASSERT_X
#define MOS_LIB_ASSERT_X |
( |
| cond, |
|
|
| msg, |
|
|
| ... ) |
Value: do \
{ \
fatal_abort("Assertion failed: '%s', " msg "\n", #cond, ##__VA_ARGS__); \
} while (0)
Definition at line 29 of file moslib_global.h.
◆ MOS_LIB_UNIMPLEMENTED
#define MOS_LIB_UNIMPLEMENTED |
( |
| content | ) |
|
◆ MOS_LIB_UNREACHABLE
#define MOS_LIB_UNREACHABLE |
( |
| ) |
|
Value:fatal_abort("Unreachable code reached")
Definition at line 39 of file moslib_global.h.
◆ mos_panic
#define mos_panic |
( |
| fmt, |
|
|
| ... ) |
◆ mos_warn
#define mos_warn |
( |
| fmt, |
|
|
| ... ) |
◆ void()