Hello,

On Mon, Nov 21, 2011 at 9:01 PM, Stephan Frank <sfr...@cs.tu-berlin.de> wrote:
>    (with-foreign-object (idx :int len)
>      (map nil (lambda (x)
>                 (setf (mem-ref idx :int i) x)

MEM-REF's offset argument is byte-sized. You want MEM-AREF here.

>                 (incf i))
>           l)
>      (try-it idx len))))


BTW, cffi-devel requires subscription, I happened to notice your mail
in the moderation queue, but usually there's too much spam and I just
delete everything. Please subscribe. :-)

Cheers,

-- 
Luís Oliveira
http://r42.eu/~luis/

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

Reply via email to