On Mon, Jan 19, 2009 at 2:35 AM, John Fremlin jf@msi.co.jp wrote:
Duane at Franz has helpfully come up with a decent way to get the real foreign address from a Lisp array.
(let ((x (make-array 10 :element-type '(unsigned-byte 8) :allocation :static-reclaimable))) (ff:fslot-address-typed :unsigned-char :lisp x))
We will test a modification of with-shareable-byte-vector to use this mechanism for ,ptr-var, hopefully it will work well.
What's the advantage, compared to using :FOREIGN-ADDRESS?