version.hpp 773 B

12345678910111213141516171819202122
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. #ifndef OPENCV_DNN_VERSION_HPP
  5. #define OPENCV_DNN_VERSION_HPP
  6. /// Use with major OpenCV version only.
  7. #define OPENCV_DNN_API_VERSION 20190122
  8. #if !defined CV_DOXYGEN && !defined CV_DNN_DONT_ADD_INLINE_NS
  9. #define CV__DNN_INLINE_NS __CV_CAT(dnn4_v, OPENCV_DNN_API_VERSION)
  10. #define CV__DNN_INLINE_NS_BEGIN namespace CV__DNN_INLINE_NS {
  11. #define CV__DNN_INLINE_NS_END }
  12. namespace cv { namespace dnn { namespace CV__DNN_INLINE_NS { } using namespace CV__DNN_INLINE_NS; }}
  13. #else
  14. #define CV__DNN_INLINE_NS_BEGIN
  15. #define CV__DNN_INLINE_NS_END
  16. #endif
  17. #endif // OPENCV_DNN_VERSION_HPP