Package: cffi
Function get-callback
Lambda Listget-callback (symbol) ArgumentsReturn ValueA pointer. Details 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. ExamplesCFFI> (defcallback sum :int ((a :int) (b :int)) (+ a b)) => SUM CFFI> (get-callback 'sum) => #<A Mac Pointer #x102350> | See also |