All Manuals > LispWorks Foreign Language Interface User Guide and Reference Manual > 7 Function and Macro Reference

NextPrevUpTopContentsIndex

get-embedded-module

Function
Summary

Gets a foreign module from a file and sets up an embedded dynamic module.

Package

fli

Signature

get-embedded-module name filename

Arguments

name

A symbol.

filename

A pathname specifier for a file containing a dynamic foreign module.

Description

The function get-embedded-module gets the foreign module in filename and sets up an embedded dynamic module named name.

Notes
  1. get-embedded-module is called at load time and has no effect except to set up the embedded module. To actually use the code in the module, you need to call install-embedded-module at run time.
  2. The effect of get-embedded-module persists after save-image and deliver.
  3. The module should not have dependencies on other non-standard modules, otherwise install-embedded-module may fail to install it.
  4. To incorporate an embedded module into a fasl file (that is, to load it at compile time) you need to use both get-embedded-module-data (at compile time) and setup-embedded-module (at load time), instead of get-embedded-module.
  5. get-embedded-module does not return a useful value.
See also

install-embedded-module
get-embedded-module-data
setup-embedded-module
Incorporating a foreign module into a LispWorks image


LispWorks Foreign Language Interface User Guide and Reference Manual - 16 Feb 2015

NextPrevUpTopContentsIndex