load-foreign-library — Loads a foreign library. Function
filename
A string or pathname specifying the library location in the filesystem. At least one implementation (Lispworks) can not accept a logical pathname. If this parameter denotes a pathname without a directory component then most of the supported Lisp implementations will be able to find the library themselves if it is located in one of the standard locations as defined by the underlying operating system.
module
A string designating the name of the module to apply to functions in this library. (Required for Lispworks)
supporting-libraries
A list of strings naming the libraries required to link the foreign library. (Required by CMUCL)
force-load
Forces the loading of the library if it has been previously loaded.
A boolean flag, T
if the library was able to be
loaded successfully or if the library has been previously loaded,
Loads a foreign library. Applies a module name to functions within the library. Ensures that a library is only loaded once during a session. A library can be reloaded by using the :force-load key.