[PyKDE] function pointers in sip

Jim Bublitz jbublitz at nwinternet.com
Fri Jan 10 18:17:20 GMT 2003


Phil -

There was a question on the list earlier today about doing function
pointers in sip, eg:

    static void(*clearScreen)(uchar w, uchar h);

or perhaps just:

    void(*clearScreen)(uchar w, uchar h);

Is it possible to do these in sip? If so, could you provide some
info on what's necessary, limitations, etc? I assume from the
"static" the original poster was interested in function pointers as
class members, and I have a few of those in PyKDE also. I don't
believe there are any examples in PyQt.

Thanks,

Jim




More information about the PyQt mailing list