Hi Phil,

given a C++ object where you can register callbacks such as:

    void registerCallback(void (*cb)(void*), void* user_data);

or

    void registerCallback(std::tr1::function<void (void)> cb);

how would you wrap them in SIP? Is there some code in PyQt that I can look at?
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to