Tizen RT Libs&Environment  v1.0 D5
assert.h File Reference

Assert APIs. More...

#include <tinyara/compiler.h>
#include <stdint.h>
Include dependency graph for assert.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...
 

Detailed Description

Assert APIs.

Definition in file assert.h.