On Fri, Oct 17, 2008 at 5:28 AM, Lisandro Dalcin <[EMAIL PROTECTED]> wrote:
> Ondrej, perhaps I'm missing something, but... Why not to implement
> __call__ on MyFunc cdef class? IMHO, this way your code would looks
> much better. Moreover, it would be faster.

Because __call__ cannot be a cdef function and def function cannot return void*.

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

Reply via email to