yield method
raise StopIteration
+ def iterBases(self):
+ iface = self
+ while iface is not None:
+ yield iface
+ iface = iface.base
+ raise StopIteration
+
def iterBaseMethods(self):
if self.base is not None:
for iface, method in self.base.iterBaseMethods():
s += ' const'
return s
+
def StdMethod(*args, **kwargs):
kwargs.setdefault('call', '__stdcall')
return Method(*args, **kwargs)
self.addFunctions(api.functions)
self.addInterfaces(api.interfaces)
- def get_function_by_name(self, name):
+ def getFunctionByName(self, name):
for function in self.functions:
if function.name == name:
return function