fix bug in generation script
This commit is contained in:
parent
b17ae2a922
commit
b4020f2cc8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user