[cffi-devel] Extending defcfun and friends with extra options

Attila Lendvai attila.lendvai at gmail.com
Tue Jan 30 09:20:53 UTC 2007


>   ;; #1 -- backwards compatible, similar to defcallback
>   (defcfun (foo :opt1 ... :opt2 ...) :rettype
>     (arg1 :type1)
>     (arg2 :type2))

fwiw, we've used this syntax both in stefil and computed-class.

-- 
- attila

"- The truth is that I've been too considerate, and so became
unintentionally cruel...
 - I understand.
 - No, you don't understand! We don't speak the same language!"
(Ingmar Bergman - Smultronstället)


More information about the cffi-devel mailing list