
Franz Allegro Common Lisp 6.0: FFI
I have been experimenting with ACL 6.0, attempting to link a foreign
library. Most of it is fine, but I am having real problems with the
passing of an array of strings to the library. Documentation appears to
imply that the automatic conversions apply to arrays of strings as well
as individual strings, but I have been unable to get it to behave for
me. The receiving end is seeing complete garbage (presumably there is a
pattern in it, but I have not been able to find it). I have tried
passing arrays of void * to switch off the string conversion, and then
using string-to-native conversions, but this is not doing it for me.
Has anyone else tried this and with any success or not?
Derek