12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- /*M
- #ifndef OPENCV_OLD_CV_H
- #define OPENCV_OLD_CV_H
- #if defined(_MSC_VER)
- #define CV_DO_PRAGMA(x) __pragma(x)
- #define __CVSTR2__(x) #x
- #define __CVSTR1__(x) __CVSTR2__(x)
- #define __CVMSVCLOC__ __FILE__ "("__CVSTR1__(__LINE__)") : "
- #define CV_MSG_PRAGMA(_msg) CV_DO_PRAGMA(message (__CVMSVCLOC__ _msg))
- #elif defined(__GNUC__)
- #define CV_DO_PRAGMA(x) _Pragma (#x)
- #define CV_MSG_PRAGMA(_msg) CV_DO_PRAGMA(message (_msg))
- #else
- #define CV_DO_PRAGMA(x)
- #define CV_MSG_PRAGMA(_msg)
- #endif
- #define CV_WARNING(x) CV_MSG_PRAGMA("Warning: " #x)
- #include "opencv2/core/core_c.h"
- #include "opencv2/imgproc/imgproc_c.h"
- #include "opencv2/photo/photo_c.h"
- #include "opencv2/video/tracking_c.h"
- #include "opencv2/objdetect/objdetect_c.h"
- #if !defined(CV_IMPL)
- #define CV_IMPL extern "C"
- #endif
- #endif
|