* modules.c (scm_module_type): New.
authorMarius Vollmer <mvo@zagadka.de>
Tue, 24 Apr 2001 23:40:18 +0000 (23:40 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Tue, 24 Apr 2001 23:40:18 +0000 (23:40 +0000)
commit55000e5f401fa0c06cac5046e4c388bcc64b8d58
tree2b3f7cb6f7fbe4c9b3604ecee7af1ff3d090d618
parentf2c4aa2a16d7d78ff4a09c72978b74a2a1d2f78b
* modules.c (scm_module_type): New.
(scm_post_boot_init_modules): Initialize from Scheme value.
(the_module, scm_current_module, scm_init_modules): the_module is
now a C only fluid.
(scm_current_module): Export to Scheme.
(scm_set_current_module): Do not call out to Scheme, do all the
work in C.  Export procedure to Scheme.  Only accept modules, `#f'
is no longer valid as the current module.  Only set
scm_top_level_lookup_closure_var and scm_system_transformer when
they are not deprecated.
(scm_module_transformer, scm_current_module_transformer): New.

* modules.h (scm_module_index_transformer, SCM_MODULE_TRANSFORMER,
scm_current_module_transformer, scm_module_transformer): New.
libguile/modules.c
libguile/modules.h