|
|
|
|
|
|
|||
#include <assert.h>
Go to the source code of this file.
Defines | |
| #define | OPENRJ_ASSERT(expr) assert(expr) |
| Evaluates the expression, and aborts the program if it evaluates to zero/false. | |
| #define | openrj_assert(expr) OPENRJ_ASSERT(expr) |
| Defines a compile-time assertion. | |
| #define | OPENRJ_MESSAGE_ASSERT(m, x) OPENRJ_ASSERT(((m), (x))) |
| Assert macro for the Open-RJ API. | |
| #define openrj_assert | ( | expr | ) | OPENRJ_ASSERT(expr) |
Defines a compile-time assertion.
| expr | Must be non-zero, or compilation will fail. |
| #define OPENRJ_ASSERT | ( | expr | ) | assert(expr) |
Evaluates the expression, and aborts the program if it evaluates to zero/false.
| #define OPENRJ_MESSAGE_ASSERT | ( | m, | |||
| x | ) | OPENRJ_ASSERT(((m), (x))) |
Assert macro for the Open-RJ API.
If the given expressions evaluates to false (0), the execution is halted and an error message given.
| m | The literal string describing the failed condition | |
| x | The expression that must evaluate to true |
|
|
| Open-RJ Library documentation © Synesis Software Pty Ltd, 2004-2005 |