Skip to content
Snippets Groups Projects

fix a bug when passing in multiple classes to generate bindings in single module

Merged Andreas Dedner requested to merge bugfix/issueWithMultipleTypesInGenerator into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -85,9 +85,9 @@ class SimpleGenerator(object):
options.append(bc)
source += ' auto cls = Dune::Python::insertClass' +\
'< DuneType' +\
', '.join([""]+options) + ' >' +\
'( cls0, "' + self.typeName[nr] + '"' +\
','.join(['']+clsParams) +\
', '.join(('',)+tuple(options)) + ' >' +\
'( cls0, "' + self.pythonName[nr] + '"' +\
','.join(('',)+tuple(clsParams)) +\
', Dune::Python::GenerateTypeName("' + duneType + '")' +\
', Dune::Python::IncludeFiles{' + ','.join(['"' + i + '"' for i in includes]) + '}' +\
").first;\n"
Loading