FLI type descriptor
fli
:foreign-array type dimensions
The type of the elements of the array.
A list containing the dimensions of the array.
:foreign-array converts between Lisp structures and foreign language arrays. It creates an array with the dimensions specified in dimensions, of elements of the type specified by type. :byte.
(setq farray (fli:allocate-foreign-object
:type '(:foreign-array :byte (3 4)))
:c-array foreign-aref foreign-array-pointer