[PyKDE] sip and const void * typedefs.

Phil Thompson phil at riverbankcomputing.co.uk
Sun Mar 12 14:48:06 GMT 2006


On Sunday 12 March 2006 12:55 am, Jon wrote:
> Hi
>
> I've been using sip (successfully) with library which defines things like
> typedef const void * InstanceHandle;
> typedef const void * SessionHandle;
>
> and then has functions like
> 	InstanceHandle getInstance(bool);
> 	SessionHandle createSession(InstanceHandle,int,int);
> I constructed a sip file with those definitions but found that the
>
> The problem I found was that the generated code would not compile with an
> error
> 	error: invalid conversion from 'const void*' to 'void*'

Should be fixed in tonight's snapshot.

Phil




More information about the PyQt mailing list