[PyQt] sip cmodule.cpp

Phil Thompson phil at riverbankcomputing.co.uk
Sun Apr 8 11:43:30 BST 2007


On Saturday 07 April 2007 11:49 pm, Bart wrote:
> I have some questions:
> 1. Why sip don't generate also name_of_module_cmodule.h ?

Because there is no need for it.

> 2. Why in name_of_module_cmodule.cpp there is no deinit_module() function?
> I'm asking because after Py_Finalize() and PyInitialize();init_module();
> have application crash.

The module initialisation function is only meant to be called by the 
interpreter.

Phil


More information about the PyQt mailing list