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

Parzival Herzog parzp at shaw.ca
Thu Feb 3 08:26:18 CET 2005


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



More information about the Pyrex mailing list