[plt-scheme] MzScheme extension loading
At Tue, 6 Jun 2006 12:46:55 +0200 (CEST), Ivanyi Peter wrote:
> I have an MzScheme extension. It defines a module.
> What is the best way to incorporate (load) this module into
> other modules?
Put the extension into
compiled/native/win32/i386/my-ext.dll
where "compiled" is in the same directory as `my-module'. Then,
(module my-module mzscheme
(require "my-ext.scm")
...)
should load it.
This works because the module loader will look for "my-ext.dll" in
"compiled/native/win32/i386", and if it exists, use that in place of
"my-ext.scm".
Matthew