#include "juno/status.h"
#include <stdint.h>
Go to the source code of this file.
◆ ASSERT_EXISTS
#define ASSERT_EXISTS |
( |
|
ptr | ) |
|
◆ ASSERT_EXISTS_MODULE
#define ASSERT_EXISTS_MODULE |
( |
|
ptr, |
|
|
|
ptMod, |
|
|
|
str |
|
) |
| |
Value:Assert if a module's dependencies exist
- Parameters
-
ptr | the Module dependecy or dependencies to assert (similar to ASSERT_EXISTS ) |
ptMod | The module |
str | The error message if ptr fails assertion |
◆ ASSERT_SUCCESS
#define ASSERT_SUCCESS |
( |
|
tStatus, |
|
|
|
failOp |
|
) |
| |
Value:
{ \
failOp; \
}
@ JUNO_STATUS_SUCCESS
Definition status.h:24
Assert the status is a success, if not perform failOp
- Parameters
-
tStatus | The status to assert |
failOp | The failure operation |