[PyQt] sip doesn't recognize structs with parent structs/classes

Phil Thompson phil at riverbankcomputing.com
Tue Jul 22 23:39:39 BST 2008



On Wed, 16 Jul 2008 16:12:15 -0700, "Erick Tryzelaar"
<idadesub at users.sourceforge.net> wrote:
> I've got a simple sip file that has:
> 
> struct Foo {
> %TypeHeaderCode
> #include "foo.h"
> %End
> 
>   virtual Foo();
> };
> 
> struct Bar: Foo {
> %TypeHeaderCode
> #include "foo.h"
> %End
> 
>   virtual Bar();
> };
> 
> 
> That should be valid code though, right?

The "virtual"s aren't valid, but the super-classes should be. Fixed in
tonight's snapshot.

Phil



More information about the PyQt mailing list