On Mon, Apr 07, 2008 at 07:35:27PM +0200, Stefan Behnel wrote: > > Gabriel Gellner wrote: > > Looking through the scipy odeint C wrapper, I realized the simple pattern to > > solve this (just having the callback call a global python function, that is > > set by the driver.) > > > > Does anyone think this is worth making a Wiki page for? If so I would be > > happy > > to write up the solution. > > There already is a (tiny) FAQ entry on callbacks, but it would be good to have > a real page on this topic (even if your solution here is less common than > passing a void*). > > http://wiki.cython.org/FAQ#head-0ea9184c404ed73456c5988eaf208d91bf04accb > > Stefan > One thing about this FAQ entry, the Cython releases doesn't seem to include the callback folder in Demos. I had to go into the Mercural repo to get it.
Gabriel > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
