[Pyrex] how to declare and use variable length argument lists

Victor Ng crankycoder at gmail.com
Wed Feb 22 20:32:42 CET 2006


Did you ever figure this out?  I can't seem to figure out how to get at the
vararg data either.

On 2/3/05, Parzival Herzog <parzp at shaw.ca> wrote:
>
> Pyrex accepts C variable length argument list syntax, e.g.
>
> cdef object _tuple(char *fmt, ...):
>     return ()
>
> but what can I tell pyrex to cover the macros va_list, va_start, va_end,
> and
> va_arg from stdarg.h?
>
> I haven't seen a disclaimer that variable length argument lists are not
> supported, and last I looked at the FAQ <grin> there was nothing on this
> _very important_ aspect of interfacing to C.
>
>
> --
> Parzival Herzog
>
> _______________________________________________
> Pyrex mailing list
> Pyrex at lists.copyleft.no
> http://lists.copyleft.no/mailman/listinfo/pyrex
>



--
"Never attribute to malice that which can be adequately explained by
stupidity."  - Hanlon's Razor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.copyleft.no/pipermail/pyrex/attachments/20060222/a00c7c13/attachment.html


More information about the Pyrex mailing list