[cffi-devel] Re: varargs (again)

Luís Oliveira luismbo at gmail.com
Fri Jan 13 13:47:31 UTC 2006


"Hoehle, Joerg-Cyril" <Joerg-Cyril.Hoehle at t-systems.com> writes:
> Actually, I believe it's not enough to let defcfun know about varargs.
> FOREIGN-FUNCALL needs it as well, so it can tell the underlying Lisp
> where varargs happen.

Indeed. As soon as some Lisp supports this we'll extend foreign-funcall
that way. :-)


> An alternative implementation strategy for cffi might be to build up a
> va_list structure and call the *V() functions (e.g. TIFFVGetField)??
> Uhoh...

That'd be nice too. If only the varargs stuff wasn't all macros...

-- 
Luís Oliveira
luismbo (@) gmail (.) com
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt




More information about the cffi-devel mailing list