[cffi-devel] Re: Need foreign string method for translate-into-foreign-memory?

Luís Oliveira loliveira at common-lisp.net
Tue Oct 15 22:02:38 UTC 2013


On Tue, Oct 15, 2013 at 3:24 AM, Liam Healy <lnp at healy.washington.dc.us> wrote:
> How does this look?

It looks overly complicated. It should be a single call to
LISP-STRING-TO-FOREIGN... Except we need to know the size of the
target foreign memory. Guess we need to add an optional length slot to
the string type, and this method needs to assert its existence.

-- 
Luís Oliveira
http://kerno.org/~luis/



More information about the cffi-devel mailing list