[Pyrex] Incompatibility going from Pyrex 0.9.3 Pyrex 0.9.4.1

Stefan Behnel behnel_ml at gkec.informatik.tu-darmstadt.de
Wed Sep 20 15:50:22 UTC 2006



Parsifal Herzog wrote:
>     cdef va_list ap   <--- line 112
>     cdef voidptr oi
>     va_start(ap, o1)
>     oi = va_arg(ap, voidptr)
>     while oi != 0:
>         l.append(<object>oi)
>         oi = va_arg(ap, voidptr)
>     va_end(ap)

Here is an example how to use va_args:

http://codespeak.net/svn/lxml/trunk/src/lxml/cstd.pxd

The macros are defined at the the top of this file:

http://codespeak.net/svn/lxml/trunk/src/lxml/etree_defs.h

Stefan




More information about the Pyrex mailing list