See the LispWorks Foreign Language Interface User Guide and Reference Manual for details of these changes.
FLI vector types have been added, with names such as fli:vector-char2
. These correspond to the C/Objective-C vector types that are defined by Clang, which is used on Mac OS X, iOS and FreeBSD and is optionally available on other operating systems.
The :calling-convention
keyword argument for fli:define-foreign-function
and fli:define-foreign-funcallable
can now have value :fastcall
, to support the __fastcall
qualifier in the Visual C and GNU C compilers.
fli:define-foreign-function
and fli:define-foreign-funcallable
have a new keyword argument, :variadic-num-of-fixed
, which needs to be used when calling variadic foreign functions.
The foreign block API (see "Block objects in C (foreign blocks)" in the LispWorks Foreign Language Interface User Guide and Reference Manual ) is now supported on iOS.
The :aligned
option now works in fli:define-c-struct
. This was documented in LispWorks 7.0 but not implemented.
LispWorks Release Notes and Installation Guide - 19 Oct 2017