[cffi-devel] defcallback with &rest

Frank Goenninger frgo at me.com
Fri Dec 2 17:36:03 UTC 2011


Hi all!

Question:

I have a Lisp function as follows:

(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?

Thx!

Cheers
    Frank





More information about the cffi-devel mailing list