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

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to