Included c-headers for better 2.4 compatibility
This commit is contained in:
parent
fed1b3fd59
commit
c485aee464
@ -1854,4 +1854,8 @@ namespace fisheye
|
|||||||
|
|
||||||
} // cv
|
} // cv
|
||||||
|
|
||||||
|
#ifndef DISABLE_OPENCV_24_COMPATIBILITY
|
||||||
|
#include "opencv2/calib3d/calib3d_c.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -73,6 +73,10 @@
|
|||||||
# define CV_ENABLE_UNROLLED 1
|
# define CV_ENABLE_UNROLLED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __OPENCV_BUILD
|
||||||
|
# define DISABLE_OPENCV_24_COMPATIBILITY
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined WIN32 || defined _WIN32 || defined WINCE || defined __CYGWIN__) && defined CVAPI_EXPORTS
|
#if (defined WIN32 || defined _WIN32 || defined WINCE || defined __CYGWIN__) && defined CVAPI_EXPORTS
|
||||||
# define CV_EXPORTS __declspec(dllexport)
|
# define CV_EXPORTS __declspec(dllexport)
|
||||||
#elif defined __GNUC__ && __GNUC__ >= 4
|
#elif defined __GNUC__ && __GNUC__ >= 4
|
||||||
|
@ -303,7 +303,10 @@ struct Ptr
|
|||||||
@note It is often easier to use makePtr instead.
|
@note It is often easier to use makePtr instead.
|
||||||
*/
|
*/
|
||||||
template<typename Y>
|
template<typename Y>
|
||||||
explicit Ptr(Y* p);
|
#ifdef DISABLE_OPENCV_24_COMPATIBILITY
|
||||||
|
explicit
|
||||||
|
#endif
|
||||||
|
Ptr(Y* p);
|
||||||
|
|
||||||
/** @overload
|
/** @overload
|
||||||
@param d Deleter to use for the owned pointer.
|
@param d Deleter to use for the owned pointer.
|
||||||
|
@ -746,4 +746,8 @@ template<> inline std::string CommandLineParser::get<std::string>(const String&
|
|||||||
|
|
||||||
} //namespace cv
|
} //namespace cv
|
||||||
|
|
||||||
|
#ifndef DISABLE_OPENCV_24_COMPATIBILITY
|
||||||
|
#include "opencv2/core/core_c.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif //__OPENCV_CORE_UTILITY_H__
|
#endif //__OPENCV_CORE_UTILITY_H__
|
||||||
|
@ -677,4 +677,9 @@ CV_EXPORTS int createButton( const String& bar_name, ButtonCallback on_change,
|
|||||||
//! @} highgui
|
//! @} highgui
|
||||||
|
|
||||||
} // cv
|
} // cv
|
||||||
|
|
||||||
|
#ifndef DISABLE_OPENCV_24_COMPATIBILITY
|
||||||
|
#include "opencv2/highgui/highgui_c.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -4217,4 +4217,8 @@ Point LineIterator::pos() const
|
|||||||
|
|
||||||
} // cv
|
} // cv
|
||||||
|
|
||||||
|
#ifndef DISABLE_OPENCV_24_COMPATIBILITY
|
||||||
|
#include "opencv2/imgproc/imgproc_c.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -458,4 +458,8 @@ public:
|
|||||||
|
|
||||||
#include "opencv2/objdetect/detection_based_tracker.hpp"
|
#include "opencv2/objdetect/detection_based_tracker.hpp"
|
||||||
|
|
||||||
|
#ifndef DISABLE_OPENCV_24_COMPATIBILITY
|
||||||
|
#include "opencv2/objdetect/objdetect_c.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -802,4 +802,8 @@ CV_EXPORTS_W void stylization(InputArray src, OutputArray dst, float sigma_s = 6
|
|||||||
|
|
||||||
} // cv
|
} // cv
|
||||||
|
|
||||||
|
#ifndef DISABLE_OPENCV_24_COMPATIBILITY
|
||||||
|
#include "opencv2/photo/photo_c.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -56,4 +56,8 @@
|
|||||||
#include "opencv2/video/tracking.hpp"
|
#include "opencv2/video/tracking.hpp"
|
||||||
#include "opencv2/video/background_segm.hpp"
|
#include "opencv2/video/background_segm.hpp"
|
||||||
|
|
||||||
|
#ifndef DISABLE_OPENCV_24_COMPATIBILITY
|
||||||
|
#include "opencv2/video/tracking_c.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif //__OPENCV_VIDEO_HPP__
|
#endif //__OPENCV_VIDEO_HPP__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user