Loading...
Searching...
No Matches
assert.hpp File Reference

Macros

#define GAPI_Assert   CV_Assert
 
#define GAPI_DbgAssert(expr)   GAPI_DbgAssertNoOp(expr)
 
#define GAPI_DbgAssertNoOp(expr)
 
#define GAPI_Error(msg)   CV_Error(cv::Error::StsError, msg)
 

Macro Definition Documentation

◆ GAPI_Assert

#define GAPI_Assert   CV_Assert

◆ GAPI_DbgAssert

#define GAPI_DbgAssert (   expr)    GAPI_DbgAssertNoOp(expr)

◆ GAPI_DbgAssertNoOp

#define GAPI_DbgAssertNoOp (   expr)
Value:
{ \
constexpr bool _assert_tmp = false && (expr); \
cv::util::suppress_unused_warning(_assert_tmp); \
}

◆ GAPI_Error

#define GAPI_Error (   msg)    CV_Error(cv::Error::StsError, msg)