Macro

ASSERT_NONNULL

Check two pointers to determine if X != NULL.

Since v1.0
#define ASSERT_NONNULL(
X, ...)

Parameters 🔗

X in

Pointer to compare against NULL.

... in

Optional message.

Discussion 🔗

If X != NULL, the test case is aborted.