mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* modules.c (scm_selected_module): the_module is now a fluid.
This commit is contained in:
parent
a0ea2bf043
commit
7f763132bc
1 changed files with 2 additions and 1 deletions
|
@ -52,6 +52,7 @@
|
|||
#include "libguile/hashtab.h"
|
||||
#include "libguile/struct.h"
|
||||
#include "libguile/variable.h"
|
||||
#include "libguile/fluids.h"
|
||||
|
||||
#include "libguile/modules.h"
|
||||
|
||||
|
@ -69,7 +70,7 @@ static SCM the_module;
|
|||
SCM
|
||||
scm_selected_module ()
|
||||
{
|
||||
return SCM_CDR (the_module);
|
||||
return scm_fluid_ref (SCM_CDR (the_module));
|
||||
}
|
||||
|
||||
static SCM set_current_module;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue