mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 14:21:10 +02:00
(scm_env_module): Exported to Scheme.
This commit is contained in:
parent
0120801d39
commit
e24ca5385a
1 changed files with 5 additions and 2 deletions
|
@ -262,11 +262,14 @@ scm_lookup_closure_module (SCM proc)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SCM
|
SCM_DEFINE (scm_env_module, "env-module", 1, 0, 0,
|
||||||
scm_env_module (SCM env)
|
(SCM env),
|
||||||
|
"Return the module of @var{ENV}, a lexical environment.")
|
||||||
|
#define FUNC_NAME s_scm_env_module
|
||||||
{
|
{
|
||||||
return scm_lookup_closure_module (scm_env_top_level (env));
|
return scm_lookup_closure_module (scm_env_top_level (env));
|
||||||
}
|
}
|
||||||
|
#undef FUNC_NAME
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* C level implementation of the standard eval closure
|
* C level implementation of the standard eval closure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue