Am 02.12.2011 um 19:46 schrieb Luís Oliveira: > On Fri, Dec 2, 2011 at 5:36 PM, Frank Goenninger <f...@me.com> wrote: >> (defun frgo (fmt &rest args) >> (format t fmt args)) >> >> Now I want to define a C call back for that function: >> >> (defcallback frgoc :void ((fmt :string) (args ??????? >> >> How do I define the callback such that I can have a C function with varargs >> being defined? > > Sorry, no way to do that right now. Last time I checked, no Lisp's got > support for such a feature. We might start using libffi to add extra > (low-level) features in the near feature, but not even libffi supports > this particular feature.
Understood. So I 'm back to square 1 with just a pointer to a struct that I have to de-structure myself. Not beautiful but ok. Thanks for the quick help. Cheers Frank _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel