[plt-scheme] Requiring modules

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Apr 18 11:36:56 EDT 2005

At Fri, 15 Apr 2005 01:25:26 +0200, Kim Gybels wrote:
> When writing an extension for scheme: is it possible to require a
> module from within the C-code ?
> 
> What we want to do is this:
> require the turtles.ss graphics in een environment of some sort, and
> then call some of its functions from our C-code.

I think you want to use scheme_dynamic_require(). It takes an array of
arguments that are the same as for the `dynamc-require' procedure in
Scheme.

Matthew



Posted on the users mailing list.