Fix mcc module generation
MODIFY
binding-generator/src/settings.rs
binding-generator/src/settings.rs
@@ -869,6 +869,9 @@ pub static NO_SKIP_NAMESPACE_IN_LOCALNAME: Lazy<HashMap<&str, HashMap<&str, &str
"cudastereo" => hashmap! {
"cuda" => "CUDA",
},
+ "mcc" => hashmap! {
+ "mcc" => "MCC",
+ },
});
pub static FORCE_VECTOR_TYPEDEF_GENERATION: Lazy<HashSet<&str>> = Lazy::new(|| hashset! {

MODIFY
src_cpp/dnn.hpp
src_cpp/dnn.hpp
-// strip dnn experimental ns when generating headers
-#ifdef OCVRS_PARSING_HEADERS
- #define CV_DNN_DONT_ADD_EXPERIMENTAL_NS
- #define CV_DNN_DONT_ADD_INLINE_NS
-#endif
-
#include "ocvrs_common.hpp"
#include <opencv2/dnn.hpp>
#if CV_VERSION_MAJOR == 4

MODIFY
src_cpp/ocvrs_common.hpp
src_cpp/ocvrs_common.hpp
#endif
#define CV_COLLECT_IMPL_DATA
+// strip dnn experimental ns when generating headers
+#ifdef OCVRS_PARSING_HEADERS
+ #define CV_DNN_DONT_ADD_EXPERIMENTAL_NS
+ #define CV_DNN_DONT_ADD_INLINE_NS
+#endif
#include <opencv2/core.hpp>
#define OCVRS_ONLY_DEPENDENT_TYPES

Fix mcc module generation