must evaluate to a supported element type for foreign arrays. In 32-bit LispWorks these types are
. In 64-bit LispWorks
can also be
In the case the memory is allocated by the operating system the best approach is to reference it from Lisp by a pointer type, to avoid making a :c-array foreign type dynamically.
should be a valid byte index for
is declared to be of type
then the compiler will optimize it slightly better. Some parts of the FLI (for example, allocate-foreign-object) assume
sizes so it is best to use fixnums only.
LispWorks Foreign Language Interface User Guide and Reference Manual - 7 Dec 2011