|
Tizen RT Libs&Environment
v1.0 D5
|
Assert APIs. More...
#include <tinyara/compiler.h>#include <stdint.h>
Go to the source code of this file.
Macros | |
| #define | ASSERT(f) { if (!(f)) up_assert(); } |
| Assert if the condition is not true. More... | |
| #define | VERIFY(f) { if ((f) < 0) up_assert(); } |
| Assert if a function returns a negative value. More... | |
| #define | PANIC() up_assert() |
| Unconditional abort. More... | |
| #define | DEBUGASSERT(f) { if (!(f)) up_assert(); } |
| Like ASSERT, but only if CONFIG_DEBUG is defined. More... | |
| #define | DEBUGVERIFY(f) { if ((f) < 0) up_assert(); } |
| Like VERIFY, but only if CONFIG_DEBUG is defined. More... | |
| #define | DEBUGPANIC() up_assert() |
| Like PANIC, but only if CONFIG_DEBUG is defined. More... | |
Assert APIs.
Definition in file assert.h.