Started handling trivial case of return references. Removed most modules from build tree while testing (cmake/OpenCVModule)

This commit is contained in:
hbristow
2013-06-21 17:33:24 -07:00
parent d9cea3b8b0
commit 1a15ed3279
9 changed files with 127 additions and 48 deletions

View File

@@ -85,7 +85,7 @@ class Translator(object):
def translateArgument(self, defn):
tp = defn[0]
name = defn[1]
default = tp+'()' if defn[2] else ''
default = defn[2] if defn[2] else ''
return Argument(name, tp, False, '', default)
def translateName(self, name):