All Manuals > LispWorks Release Notes and Installation Guide > 15 Release Notes

NextPrevUpTopContentsIndex

15.12 Foreign Language interface changes

See the LispWorks Foreign Language Interface User Guide and Reference Manual for details of these changes.

15.12.1 Support for vector types

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.

15.12.2 The fastcall calling convention

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.

15.12.3 Support for calling variadic functions

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.

15.12.4 Foreign blocks supported on iOS

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.

15.12.5 Aligning fields in a structure

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

NextPrevUpTopContentsIndex