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

◆ VERIFY_VALID_ARG

#define VERIFY_VALID_ARG ( is_valid)

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

Value:
do { \
if (!(is_valid)) { \
} \
} while (0)
@ STATUS_INVALID_ARGUMENT
Definition common.h:118

Macro for verifying that the provided argumets is valid. It will cause the exterior function to return an error code if it is not STATUS_INVALID_ARGUMENT.

Parameters
[in]is_validboolean comparison on the validity of the argument.