On Mon, 4 Aug 2008, Lisandro Dalcin wrote: > 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 >
Sorry, I didn't test any code like that. I can guess where this got introduced. Dag, any comments? - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
