Define SNPE_CAPI_ASSERT_RETURN_LASTERROR

Define Documentation

SNPE_CAPI_ASSERT_RETURN_LASTERROR(cond)

do{                                            \

if(!(cond)) {                                \

VERBOSE_SNPE_CAPI_PRINT

();                 \

return

Snpe_ErrorCode_getLastErrorCode

();  \

}                                            \

}while(0)