Hello,
On Mon, Nov 21, 2011 at 9:01 PM, Stephan Frank sfrank@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.
An embarrassing oversight on my part. Thank you very much.
(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. :-)
Yes, I figured that much when my mail didn't make it through and already have subscribed in the meantime. Thanks again.
Regards, Stephan