version.hpp 804 B

123456789101112131415161718192021
  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 20220524
  8. #if !defined CV_DOXYGEN && !defined CV_STATIC_ANALYSIS && !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