pre: OpenCV 4.7.0 (version++)
[platform/upstream/opencv.git] / modules / dnn / include / opencv2 / dnn / version.hpp
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
5 #ifndef OPENCV_DNN_VERSION_HPP
6 #define OPENCV_DNN_VERSION_HPP
7
8 /// Use with major OpenCV version only.
9 #define OPENCV_DNN_API_VERSION 20221220
10
11 #if !defined CV_DOXYGEN && !defined CV_STATIC_ANALYSIS && !defined CV_DNN_DONT_ADD_INLINE_NS
12 #define CV__DNN_INLINE_NS __CV_CAT(dnn4_v, OPENCV_DNN_API_VERSION)
13 #define CV__DNN_INLINE_NS_BEGIN namespace CV__DNN_INLINE_NS {
14 #define CV__DNN_INLINE_NS_END }
15 namespace cv { namespace dnn { namespace CV__DNN_INLINE_NS { } using namespace CV__DNN_INLINE_NS; }}
16 #else
17 #define CV__DNN_INLINE_NS_BEGIN
18 #define CV__DNN_INLINE_NS_END
19 #endif
20
21 #endif  // OPENCV_DNN_VERSION_HPP