Lisandro Dalcin wrote:
> Not sure if allowing redefinitions is a good idea, but at least
> something like a 'forward declaration' have to be valid.

Forward declarations are fine, at least in Pyrex.
You just have to be careful not to give the declaration
a body, otherwise it's taken as a definion.

i.e.

   cdef struct Spam

is a forward declaration, but

   cdef struct Spam:
     pass

is a definition.

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

Reply via email to