On Tue, Nov 3, 2009 at 7:20 AM, Robert Bradshaw <[email protected]> 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...) > > http://trac.cython.org/cython_trac/ticket/446 >
Or use other approach for handling "int complex" types. Honestly, I did not take into account this use case. Mmm... I'm thinking that trying to support (floating) complex in C89 is not a good idea, some things are really hard to do (if ever possible)... -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
