(self, args)
return py_returns, py_args
Determines arguments and return values for python wrapper
Determines arguments and return values for python wrapper
Determines arguments and return values for python wrapper
def _split_retvals_inargs(self, args):
        """Determines arguments and return values for python wrapper"""
        py_args = []
        py_returns = []
        for arg in args:
            if isinstance(arg, OutputArgument):
                py_returns.append(arg)
            elif isinstance(arg, InOutArgument):
                py_returns.append(arg)
                py_args.append(arg)
            else:
                py_args.append(arg)
        return py_returns, py_args
def _split_retvals_inargs ( self , args ) : py_args = [ ] py_returns = [ ] for arg in args : if isinstance ( arg , OutputArgument ) : py_returns . append ( arg ) elif isinstance ( arg , InOutArgument ) : py_returns . append ( arg ) py_args . append ( arg ) else : py_args . append ( arg ) return py_returns , py_args