mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge branch 4.x
This commit is contained in:
@@ -500,6 +500,10 @@ class ArgInfo(object):
|
||||
def outputarg(self):
|
||||
return '/O' in self._modifiers or '/IO' in self._modifiers
|
||||
|
||||
@property
|
||||
def pathlike(self):
|
||||
return '/PATH' in self._modifiers
|
||||
|
||||
@property
|
||||
def returnarg(self):
|
||||
return self.outputarg
|
||||
@@ -523,6 +527,7 @@ class ArgInfo(object):
|
||||
def crepr(self):
|
||||
arg = 0x01 if self.outputarg else 0x0
|
||||
arg += 0x02 if self.arithm_op_src_arg else 0x0
|
||||
arg += 0x04 if self.pathlike else 0x0
|
||||
return "ArgInfo(\"%s\", %d)" % (self.name, arg)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user