[PyQt] c array question

Phil Thompson phil at riverbankcomputing.com
Tue Oct 26 18:10:05 BST 2010


On Tue, 26 Oct 2010 13:54:56 +0200, Wilbert Berendsen <wbsoft at xs4all.nl>
wrote:
> Hi,
> 
> I can't get sip to accept a c array definition like this in a
> specification 
> file:
> 
> int points[4];
> 
> sip simply complains with 'syntax error'.
> 
> Should I use a different syntax? Or isn't this possible by default and
> should 
> I write code to get and set items (or the complete array)?

You will have to provide some handwritten code.

Phil


More information about the PyQt mailing list