Next: defcallback, Up: Callbacks
The callback
macro is analogous to the standard CL special
operator function
and will return a pointer to the callback
denoted by the symbol name.
CFFI> (defcallback sum :int ((a :int) (b :int)) (+ a b)) SUM CFFI> (callback sum) #<A Mac Pointer #x102350>