Lisandro Dalcin wrote:
> Stefan, I'm currently very busy trying to get a new release of two of
> my projects...
>
> My original patch still needs a bit of discussion, and there is room
> for improvement, as I want to extend that machinery to "extern
> ctypedef" integrals in such a way that Cython stop assuming a base
> type and instead emit a custom conversor.
Excellent! As you probably know the buffer interface already does not
make such assumptions.
So basically,
cdef extern:
ctypedef short a
ctypedef long b
here, a and b should always be treated in the exact same way by Cython? +1!
I think we should include floats though, so that the size of float vs.
long double isn't assumed for external typedefs as well.
--
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev