On Sunday 09 January 2005 7:45 pm, James Lamanna wrote:
> Lets say I have the following in my .sip file:
>
> class Klass {
> ....stuff....
> WindowID id;
> ....stuff....
> };
>
> SIP wants to know what type WindowID is.
> I want to compile this on Windows, where WindowID is actually a HWND.
> However putting the following into the sip file does not work:
> typedef HWND WindowID;
>
> beecause SIP complains that it doesn't know about HWND.
> Is there any way to have SIP pass this type through unchanged so that
> the real compiler deals with it?

No, because SIP needs to deal with it as well, and so needs to know the real 
underlying type.

Phil

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to