On Wed, 2008-06-25 at 17:09 +0200, Antoine Allombert wrote:
Hello everybody, I face a weird situation with LW and CFFI on OS X 10.4.
When I evaluate the form :
(cffi:with-foreign-pointer (ptr 2)
(setf (cffi:mem-ref ptr :int 0) 0) (setf (cffi:mem-ref ptr :int 1) 1) (let ((i 0)) (loop for i from 0 below 2 collect (cffi:mem-ref ptr :int i))))
The result is :
(256 1)
I get the same behaviour with SBCL 1.0.17.42