Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ NULL_CHECK

#define NULL_CHECK ( x)

#include <applications/gesture_recognition/src/hw_modules/common.h>

Value:
do { \
if ((x) == NULL) { \
} \
} while (0)
@ STATUS_NULL_ARGUMENT
Definition common.h:121

Macro for checking argument for NULL. Macro will call return with the status STATUS_NULL_ARGUMENT.

Parameters
[in]xArgument to be checked.