[Pyrex] void function callbacks

Craig Jacobs cmjacobs at gmail.com
Thu Mar 10 15:42:03 CET 2005


I am having trouble understanding the callback mechanism. I want to
wrap a function that takes a function pointer. The function pointer
must be to a function that takes notarguments and returns nothing.

Basically, the wrapper is registering a callback, similiar to
glutDisplayFunc. Anyone have any advice on how wrap this type of
function and function pointer.

-Thanks

-Craig



More information about the Pyrex mailing list