Hi Liam,
Thanks for the response. It works! Actually, there was one hitch, which I'd
like to explain, if for no other reason than posterity.
I had translate-into-foreign-memory, translate-to-foreign, and
free-translated object defined, which were supposed to unpack a list (using
first, second, thi
Looks like you're sending it a list of symbols 'read-func etc.
'(read-func seek-func (null-pointer) tell-func)
is a list of two symbols, a list, then another symbol. It needs to be
a plist (property list) with alternating slot names and values
(list 'read-func read-func 'seek-func seek-func...)
(At
Hello,
I'm using SBCL version 1.2.4, CFFI version 0.14.0, and libffi version 3.1.
I've been trying to pass a struct by value using CFFI and libffi. I'm a
newbie to both CFFI and Lisp so I had to piece this together from the
manual as well as some of the unit tests that come with CFFI. I'm getting
a