NextPrevUpTopContentsIndex

4.4.1 Simple delivery of a dynamic library

Supply the names of your library's exports in a list value for the deliver keyword :dll-exports. Each name in dll-exports should be a string naming a Lisp function defined by fli:define-foreign-callable .

The deliver function argument should be nil , because a dynamic library does not have a startup function.

Supply the file type of the delivered image in the deliver file argument if necessary.

As when delivering a LispWorks executable, start at deliver level 0. Increase the delivery level, if desired, after you have debugged your library. Whenever possible, debug your code running in the LispWorks development image. If the problem only occurs when your code runs inside a dynamic library, you may be able to debug it on your development machine in a dynamic library created by save-image rather than deliver .


LispWorks Delivery User Guide - 14 Mar 2008

NextPrevUpTopContentsIndex