Provides APIs for Assertion.
More...
|
| #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...
|
| |
Provides APIs for Assertion.
| #define ASSERT |
( |
|
f | ) |
{ if (!(f)) up_assert(); } |
Assert if the condition is not true.
- Parameters
-
| [in] | assertion | condition which shall have a scalar type |
- Returns
- none
- Since
- Tizen RT v1.0
Definition at line 124 of file assert.h.
| #define DEBUGASSERT |
( |
|
f | ) |
{ if (!(f)) up_assert(); } |
Like ASSERT, but only if CONFIG_DEBUG is defined.
- Parameters
-
| [in] | assertion | condition which shall have a scalar type |
- Returns
- none
- Since
- Tizen RT v1.0
Definition at line 150 of file assert.h.
| #define DEBUGPANIC |
( |
| ) |
up_assert() |
Like PANIC, but only if CONFIG_DEBUG is defined.
- Returns
- none
- Since
- Tizen RT v1.0
Definition at line 165 of file assert.h.
| #define DEBUGVERIFY |
( |
|
f | ) |
{ if ((f) < 0) up_assert(); } |
Like VERIFY, but only if CONFIG_DEBUG is defined.
- Parameters
-
| [in] | assertion | condition which shall have a scalar type |
- Returns
- none
- Since
- Tizen RT v1.0
Definition at line 158 of file assert.h.
| #define PANIC |
( |
| ) |
up_assert() |
Unconditional abort.
- Returns
- none
- Since
- Tizen RT v1.0
Definition at line 139 of file assert.h.
| #define VERIFY |
( |
|
f | ) |
{ if ((f) < 0) up_assert(); } |
Assert if a function returns a negative value.
- Parameters
-
| [in] | assertion | condition which shall have a scalar type |
- Returns
- none
- Since
- Tizen RT v1.0
Definition at line 132 of file assert.h.