[PyKDE] SIP can generate code with duplicates for the default
phil at riverbankcomputing.co.uk
Sun Apr 24 00:18:18 BST 2005
On Friday 22 April 2005 11:14 pm, Gerard Vermeulen wrote:
> Hi Phil,
> A SIP specification file like
> class Klass
> // The following constructor is part of the C++ interface.
> // I want to add a constructor which takes a Numerical Python
> // array. There is no equivalent in C++.
> Klass(SIP_PYOBJECT) [()];
> sipCpp = new sipKlass();
> // set the data in Klass to that of the NumPy array.
> makes SIP duplicate the code for sipKlass() in the .h and .cpp file.
> After removing the duplications by hand, the code compiles and runs
Should be fixed in the current snapshot.
More information about the PyQt