ie. in LispWorks FLI one can do
- Code: Select all
(fli:define-c-struct (do-foo :foreign-name "do_foo") ...)
But as far as I can see there is no similar option for cffi.
Is it the case that the defcstruct name can be arbitrary and is not referenced against the exported c symbols? Arbitrary names do appear to work fine, but this isn't really spelled out in the docs.