On Tue, Jan 30, 2007 at 07:52:37AM +0000, Luís Oliveira wrote:
>Hello,
> ;; #1 -- backwards compatible, similar to defcallback
> (defcfun (foo :opt1 ... :opt2 ...) :rettype
>   (arg1 :type1)
>   (arg2 :type2))
I prefer this syntax since it has the advantage(for readability) that
the options are put at the beginning, making them easy to spot; it is
also the syntax of many CL standard macros(with-open-file,
with-output-to-string ...)

-- 
(sign :name "Stelian Ionescu" :aka "fe[nl]ix"
      :quote "Quidquid latine dictum sit, altum sonatur.")

Attachment: pgpnq9wp85T4S.pgp
Description: PGP signature

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to