On Aug 12, 2008, at 8:53 AM, Simon Burton wrote:

> $ cython foo.pyx
>
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
>
>
> cdef class Foo:
>
>     public unsigned int zap
>           ^
> ------------------------------------------------------------
>
> foo.pyx:5:11: Syntax error in simple statement list
>
> $ cython --version
> Cython version 0.9.8
>
>
> Or did I break my cython install ?

Don't you have to write

cdef class Foo:
     cdef public unsigned int zap

?

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to