fix bug in generation script

This commit is contained in:
wmayer 2016-10-08 18:48:27 +02:00
parent b17ae2a922
commit b4020f2cc8

View File

@ -1140,13 +1140,13 @@ int @self.export.Name@::PyInit(PyObject* /*args*/, PyObject* /*kwd*/)
return 0;
}
-
+ if (self.export.Initialisation):
int @self.export.Name@::initialisation()
+ if (self.export.Initialization):
int @self.export.Name@::initialization()
{
PyErr_SetString(PyExc_NotImplementedError, "Not yet implemented");
return 0;
}
int @self.export.Name@::deinitialisation()
int @self.export.Name@::finalization()
{
PyErr_SetString(PyExc_NotImplementedError, "Not yet implemented");
return 0;