[Pyrex] Problem with 0.8 Pyrex
Norman Shelley
Norman.Shelley at motorola.com
Mon Jun 23 19:54:53 CEST 2003
I have an application that works using Pyrex 0.72 and python2.2
I brought over Pyrex 0.8 and it builds the "C" file without any error. The C
compiler then spits out a myriad of errors.
Here is one generic problem. In the C file, the MicaArgTag gets some unique
prefix appended to it but that name is NOT defined in the created "C" file and
of course that unique name is not defined in Mica.h only MicaArgTag is so
defined. This unique name then is never defined and the "C" compiler flags this
as an error.
Norman Shelley
cdef extern from "Mica.h":
...
ctypedef enum MicaArgTag:
ARG_UNKNOWN
ARG_ALL
ARG_FILENAME
ARG_NETLIST
...
cdef void MICAsetArg_charp(MicaArg *args, MicaArgTag tag, char *value):
MICAsetArg(args, tag, value)
More information about the Pyrex
mailing list