mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
fix: remove extra '/O' modifier for '/IO' arguments
This commit is contained in:
@@ -616,6 +616,8 @@ class CppHeaderParser(object):
|
||||
("InputOutputArray", mat),
|
||||
("OutputArray", mat),
|
||||
("noArray", arg_type)]).strip()
|
||||
if '/IO' in modlist and '/O' in modlist:
|
||||
modlist.remove('/O')
|
||||
args.append([arg_type, arg_name, defval, modlist])
|
||||
npos = arg_start-1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user