Wrap ANN_MLP class into Python

This commit is contained in:
Maksim Shabunin
2015-05-06 15:21:23 +03:00
parent 4bf6bd3d37
commit c137ba53a0
3 changed files with 35 additions and 26 deletions

View File

@@ -393,7 +393,7 @@ class FuncVariant(object):
self.name = self.wname = name
self.isconstructor = isconstructor
self.rettype = handle_ptr(decl[1])
self.rettype = decl[4] if len(decl) >=5 else handle_ptr(decl[1])
if self.rettype == "void":
self.rettype = ""
self.args = []