Thank you. I looked at the example and I need some time to digest it. I'll take a loser look over the weekend.


בתאריך 28 במרץ 2012 00:03, מאת Stéfan van der Walt <>:
Hi Nadav

I just had a chat with Dag, a core Cython contributor.  He mentioned
to me another alternative, which is to encapsulate the callback
function in a class:

You can import this class from Python, and pass it along as the
callback object.  There may be some work on improving this
functionality in the future, but for now I think that's the cleanest
route (and helps us to avoid ctypes!).


On Tue, Mar 20, 2012 at 1:02 AM, Nadav Horesh <> wrote:
> Can you explain in more details how can I implement it? Any case I am
> attaching an scheme that may clarify my intend. Soon I'll post a code
> demonstrating the problem.
>   Thank you,
>      Nadav,