Macro

EXPECT_NONNULL

Check two pointers to determine if X != NULL.

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

Parameters 🔗

X in

Pointer to compare against NULL.

... in

Optional message.

Discussion 🔗

If X != NULL, the test case fails.