Make external cv::dnn::Importer usage is deprecated
This commit is contained in:
@@ -410,7 +410,8 @@ class CppHeaderParser(object):
|
||||
# note that we do not strip "static" prefix, which does matter;
|
||||
# it means class methods, not instance methods
|
||||
decl_str = self.batch_replace(decl_str, [("virtual", ""), ("static inline", ""), ("inline", ""),\
|
||||
("CV_EXPORTS_W", ""), ("CV_EXPORTS", ""), ("CV_CDECL", ""), ("CV_WRAP ", " "), ("CV_INLINE", "")]).strip()
|
||||
("CV_EXPORTS_W", ""), ("CV_EXPORTS", ""), ("CV_CDECL", ""), ("CV_WRAP ", " "), ("CV_INLINE", ""),
|
||||
("CV_DEPRECATED", "")]).strip()
|
||||
|
||||
static_method = False
|
||||
context = top[0]
|
||||
|
||||
Reference in New Issue
Block a user