Current cython-devel trunk broke my code, for example, try to run
cython on this snippet:

cdef extern from *:

    cdef void foo(int[])

    ctypedef int MyInt
    cdef void foo(MyInt[])

    struct MyStruct:
        pass
    cdef void bar(MyStruct[])

    ctypedef MyStruct* MyStructP
    cdef void baz(MyStructP[])


I get error messages like (just the first shown):

Error converting Pyrex file to C:
------------------------------------------------------------
...
cdef extern from *:

    cdef void foo(int[])

    ctypedef int MyInt
    cdef void foo(MyInt[])
                      ^
------------------------------------------------------------

/u/dalcinl/Devel/Cython/sandbox/arrdecl.pyx:6:23: Buffer types only
allowed as function local variables




-- 
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

Reply via email to