[Pyrex] Incompatibility going from Pyrex 0.9.3 Pyrex 0.9.4.1
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Sep 20 09:14:02 UTC 2006
Parsifal Herzog wrote:
> cdef extern from "stdarg.h":
> pass
Pyrex doesn't really support writing code that traverses a
varargs list. That certainly won't work -- you'll need to
provide Pyrex declarations for the things you use from
stdarg.h (va_list, etc.) If it worked in some earlier
version, it must have been a miraculous accident.
The hard part is dealing with va_arg, which can't be
declared in Pyrex because it takes a type as an argument.
You'll have to write a C header that defines macros for
calling va_arg for different types.
--
Greg
More information about the Pyrex
mailing list