In most cases foreign callable names are passed to
deliver
in the value of the
:dll-exports
keyword argument, and each of these foreign callables will be retained automatically in the delivered image.
However other foreign callables defined with a string
foreign-name
are liable to be shaken from the delivered image. The best approach is to use a symbol to name such foreign callables, as described under
fli:define-foreign-callable
in the
LispWorks Foreign Language Interface User Guide and Reference Manual
.