[PyQt] SIP wrapping template call
phil at riverbankcomputing.com
Sat Sep 24 09:45:48 BST 2011
On Sat, 24 Sep 2011 09:36:32 +0530, Pankaj Singh <pankajs.21 at gmail.com>
> In the C++ code that I'm exporting to python, I have the following call
> the header file.
> template <class PropertyManager>
> Following this, PropertyManager is being used in other class
> How do I wrap this in a sip file?
Define the template then use a typedef to instantiate the template with
the required name and type arguments. See PyQt's
phonon/objectdescription.sip file for an example.
More information about the PyQt