The function disconnect-module
disconnects the DLL associated with a registered module specified by name and registered with register-module.
When disconnecting, if verbose is a stream, then disconnect-module
will send disconnection information to that stream. If verbose is t
, this is interpreted as standard output. The default value of verbose is nil
.
disconnect-module
returns t
if the module was found. If the module was not found, disconnect-module
merely returns nil
.
If remove is nil
then after disconnection the module will be in the same state as it was when first registered by register-module, that is, lookups for foreign symbols can still automatically reconnect the DLL. If remove is t
then name is removed from the list of registered modules. Any foreign symbols which refer to the module will then be reset as unresolved symbols. The default value of remove is nil
.
LispWorks Foreign Language Interface User Guide and Reference Manual - 16 Feb 2015