Re: [PyQt] how to wrap anonymous enums

2009-08-31 Thread Phil Thompson
On Mon, 31 Aug 2009 23:07:54 +0200, "Diez B. Roggisch" wrote: > Phil Thompson schrieb: >> On Sat, 29 Aug 2009 19:43:24 +0200, "Diez B. Roggisch" >> wrote: >>> Phil Thompson schrieb: On Sat, 29 Aug 2009 17:48:11 +0200, "Diez B. Roggisch" wrote: > Hi, > > I've got a struct li

Re: [PyQt] how to wrap anonymous enums

2009-08-31 Thread Diez B. Roggisch
Phil Thompson schrieb: On Sat, 29 Aug 2009 19:43:24 +0200, "Diez B. Roggisch" wrote: Phil Thompson schrieb: On Sat, 29 Aug 2009 17:48:11 +0200, "Diez B. Roggisch" wrote: Hi, I've got a struct like this: struct SJoystickInfo { u8 Joystick; u32

Re: [PyQt] how to wrap anonymous enums

2009-08-31 Thread Phil Thompson
On Sat, 29 Aug 2009 19:43:24 +0200, "Diez B. Roggisch" wrote: > Phil Thompson schrieb: >> On Sat, 29 Aug 2009 17:48:11 +0200, "Diez B. Roggisch" >> wrote: >>> Hi, >>> >>> I've got a struct like this: >>> >>> struct SJoystickInfo { >>> u8 Joystick; >>> u32

Re: [PyQt] how to wrap anonymous enums

2009-08-29 Thread Diez B. Roggisch
Phil Thompson schrieb: On Sat, 29 Aug 2009 17:48:11 +0200, "Diez B. Roggisch" wrote: Hi, I've got a struct like this: struct SJoystickInfo { u8 Joystick; u32 Buttons; u32 Axes;

Re: [PyQt] how to wrap anonymous enums

2009-08-29 Thread Phil Thompson
On Sat, 29 Aug 2009 17:48:11 +0200, "Diez B. Roggisch" wrote: > Hi, > > I've got a struct like this: > > struct SJoystickInfo { > u8 Joystick; > u32 Buttons; > u32 Axes; > enum > {

[PyQt] how to wrap anonymous enums

2009-08-29 Thread Diez B. Roggisch
Hi, I've got a struct like this: struct SJoystickInfo { u8 Joystick; u32 Buttons; u32 Axes; enum { //! A hat is definitely present. POV_HAT