verbose errors

This commit is contained in:
Ilya Lavrenov
2014-04-16 18:50:23 +04:00
parent f3c56f8310
commit 2cd7a913ed
7 changed files with 49 additions and 38 deletions

View File

@@ -560,8 +560,11 @@ namespace cudev
template <typename _Tp> class GpuMat_;
}
CV_EXPORTS void setIppStatus(int status);
CV_EXPORTS void setIppStatus(int status, const char * const funcname = NULL, const char * const filename = NULL,
int line = 0);
CV_EXPORTS int getIppStatus();
CV_EXPORTS String getIppErrorLocation();
#define setIppErrorStatus() setIppStatus(-1, CV_Func, __FILE__, __LINE__)
} // cv