#include "juno/status.h"
#include <stdint.h>
Go to the source code of this file.
◆ JUNO_ASSERT_EXISTS
| #define JUNO_ASSERT_EXISTS |
( |
|
ptr | ) |
|
◆ JUNO_ASSERT_SUCCESS
| #define JUNO_ASSERT_SUCCESS |
( |
|
tStatus, |
|
|
|
failOp |
|
) |
| |
Value:
{ \
failOp; \
}
#define 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 |
◆ JUNO_JUNO_ASSERT_EXISTS_MODULE
| #define JUNO_JUNO_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 JUNO_ASSERT_EXISTS) |
| ptMod | The module |
| str | The error message if ptr fails assertion |