(self)
| 9 | self.docs = docs |
| 10 | |
| 11 | def to_swig(self): |
| 12 | result = s(f'''\ |
| 13 | {self.type.to_swig()} {self.name}({', '.join(a.to_swig() for a in self.args)}); |
| 14 | ''') |
| 15 | return result |
| 16 | |
| 17 | def to_c(self): |
| 18 | return f'''{doxygen(self.docs)}{self.type.to_c()} {self.name}({', '.join(a.to_c() for a in self.args)});\n''' |