Robert Bradshaw wrote: > On Nov 3, 2009, at 12:45 AM, Dag Sverre Seljebotn wrote: > > >> Robert Bradshaw wrote: >> >> >>> There's >>> another regression, "cdef int complex" doesn't work anymore (our >>> structs used to support this, as does gcc, even if it's non-c99). >>> >> Turns out this broke nearly all my own code :-( I'll give a proper >> solution a go. >> > > Thanks! It think it should be pretty easy (probably can use the type > name, rather than the math postfix marker to name the methods...) > I fixed the basic case of
ctypedef double mydouble print some_mydouble * some_complex however external ctypedefs will still raise errors. It's not easy; nearly all calls rely on widest_type to decide their signature, and widest_type information is unavailable. I'll start a new thread. Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
