Previous: defcallback, Up: Callbacks [Contents][Index]
A symbol denoting a callback.
A pointer.
This is the functional version of the callback
macro. It
returns a pointer to the callback named by symbol suitable, for
example, to pass as arguments to foreign functions.
CFFI> (defcallback sum :int ((a :int) (b :int)) (+ a b)) ⇒ SUM CFFI> (get-callback 'sum) ⇒ #<A Mac Pointer #x102350>