#
Chapter 19
`foreign.ss`: Foreign Interface

To load: `(require (lib "foreign.ss"))`

The `foreign.ss` module provides functionality for interfacing with foreign functions and data, as well as making some of MzScheme's internal functionality available from Scheme. Unlike other modules in this manual, `foreign.ss` is intended to be used as a substitute for C extensions, making it inherently unsafe -- code that uses such unsafe functionality can crash the running process. It is therefore documented in its own manual: PLT Foreign Interface Manual.