Kick Damien-DKICK1 <[EMAIL PROTECTED]> writes:

> Well, it would be possible but not nearly as "clean" as being able to
> use some hyptothetical FFI equivalent of '&rest'/'...'.

How should the hypothetical FFI equivalent for, say printf, look like?

And why would that be more convenient than this:

(defun test ()
  (alien:alien-funcall 
   (alien:extern-alien "printf" 
                       (function c-call:void 
                                 c-call:c-string
                                 c-call:int
                                 c-call:double
                                 c-call:char))
   "int: %d %f %c" 1 2.3d0 (char-int #\newline)))

?

--helmut

Reply via email to