[cffi-devel] varargs (again)
Brad Anderson
brad at sankaty.com
Thu Jan 12 22:42:28 UTC 2006
Hi,
I saw some topics in the archives about varargs, but none answered how I might do this:
------------
xmlParserError (void *ctx, const char *msg, ...);
------------
SWIG (CFFI) produced this:
------------
(defcfun ("xmlParserError" xmlParserError) :void
(ctx :pointer)
(msg :string)
(arg2 ))
------------
Is there any way I could use &rest here? or one big pointer? I don't quite know how to proceed...
Cheers,
Brad
More information about the cffi-devel
mailing list