OpenCV  4.8.0
Open Source Computer Vision
Macros
assert.hpp File Reference
#include <opencv2/gapi/util/compiler_hints.hpp>
#include <opencv2/core/base.hpp>

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); \
}
void suppress_unused_warning(const T &)
Utility template function to prevent "unused" warnings by various compilers.
Definition: compiler_hints.hpp:15

◆ GAPI_Error

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