+ simplify porting of Test module to Python3

This commit is contained in:
wmayer 2016-01-20 10:26:12 +01:00
parent fa42bc451a
commit a643463733

View File

@ -88,8 +88,7 @@ void loadTestResource()
}
/* Python entry */
extern "C" {
void AppTestGuiExport initQtUnitGui()
PyMODINIT_FUNC initQtUnitGui()
{
// the following constructor call registers our extension module
// with the Python runtime system
@ -101,5 +100,3 @@ void AppTestGuiExport initQtUnitGui()
loadTestResource();
return;
}
} // extern "C"