[Pyrex] syntax error I don't see

Phillip J. Eby pje at telecommunity.com
Thu Nov 4 00:52:48 CET 2004


At 12:34 AM 11/4/04 +0100, Marco Bubke wrote:
>Hi
>
>I haven't changed the code but now pyrexc says:
>
>/home/marco/projects/calliopeia/gl.pyx:3:5: Syntax error in C variable
>declaration
>
>Here is the beginning of the code:
>
>import __builtin__
>
>cdef from "numarray/numarray.h":

Shouldn't that be "cdef extern from"?




More information about the Pyrex mailing list