Need foreign string method for translate-into-foreign-memory?

Liam Healy lnp at healy.washington.dc.us
Tue Oct 1 03:17:32 UTC 2013


Based on this report http://paste.lisp.org/display/139232 it seems like we
need a method translate-into-foreign-memory for foreign-string in order
that cffi-libffi works when there are both structures by value and strings
in the arguments (or return). I looked at the code for translate-to-foreign
for inspiration, but I'm not clear on how strings work. Is this simply a
memcpy?

Liam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20130930/b4183ec0/attachment.html>


More information about the cffi-devel mailing list