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

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to