[Pyrex] classes and callbacks

Simon Burton simon at arrowtheory.com
Mon Oct 9 00:21:39 UTC 2006


On Mon, 09 Oct 2006 12:56:34 +1300
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:

> 
> Test Drive wrote:
> > For 
> > every instance of the class i need to track which class registered which 
> > callback function.
> 
> What's wrong with just using a bound method
> as the callback function?

It sounds like he has a c-library that wants a  (void (*)()) function pointer.

Simon.



More information about the Pyrex mailing list