[Cython] help with function pointer

Stefan Behnel stefan_ml at behnel.de
Tue Apr 21 10:02:05 CEST 2009


Jean-Francois Moulin wrote:
> As for the second, from Robert, now, very well... how do I specify a
> value for this implicit parameter then!?

You don't. "cpdef" functions have a special signature, so you can't use
them as callbacks.


> I also tried to use cdef in all cases, I get no compile time error

:)


> but at runtime my object LstFileReader_FAST appears no longer to be
> defined!?

Then you changed other things in your code that made this break. Unless
you show us the code you try to compile, we cannot help you.

Stefan



More information about the Cython-dev mailing list