[PyKDE] Passing a type through SIP
James Lamanna
jlamanna at gmail.com
Sun Jan 9 19:45:18 GMT 2005
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?
Thanks.
-- James Lamanna
More information about the PyQt
mailing list