diff options
author | Andy Wingo <wingo@pobox.com> | 2012-05-23 12:11:08 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-05-23 12:29:15 +0200 |
commit | 2de74cb56e3af44ce624638facfa061603d39c0d (patch) | |
tree | 2e3619ce57be8d5009c1d63a28075e865d88fbdc /libguile/deprecated.h | |
parent | 3f48638c8c82d7839b75204e475af691fcd67c33 (diff) |
finish deprecating eval closures
* libguile/deprecated.h:
* libguile/deprecated.c (scm_eval_closure_lookup)
(scm_standard_eval_closure, scm_standard_interface_eval_closure)
(scm_eval_closure_module): Deprecate these, as they are unused.
* libguile/modules.h:
* libguile/modules.c: Remove deprecated code.
* module/oop/goops/util.scm (top-level-env, top-level-env?): Deprecate.
* module/ice-9/deprecated.scm (set-system-module!): Deprecate.
(module-eval-closure): Deprecate, by overriding the core definition to
return a fresh eval closure.
* module/ice-9/boot-9.scm (make-module): Don't set an eval closure on
the module.
(the-root-module, the-scm-module): Don't call set-system-module!.
Diffstat (limited to 'libguile/deprecated.h')
-rw-r--r-- | libguile/deprecated.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libguile/deprecated.h b/libguile/deprecated.h index e777d2f80..2970262b2 100644 --- a/libguile/deprecated.h +++ b/libguile/deprecated.h @@ -824,6 +824,14 @@ SCM_DEPRECATED SCM scm_lookup_closure_module (SCM proc); SCM_DEPRECATED SCM scm_module_lookup_closure (SCM module); SCM_DEPRECATED SCM scm_current_module_lookup_closure (void); +SCM_DEPRECATED scm_t_bits scm_tc16_eval_closure; + +#define SCM_EVAL_CLOSURE_P(x) SCM_TYP16_PREDICATE (scm_tc16_eval_closure, x) + +SCM_DEPRECATED SCM scm_eval_closure_lookup (SCM eclo, SCM sym, SCM definep); +SCM_DEPRECATED SCM scm_standard_eval_closure (SCM module); +SCM_DEPRECATED SCM scm_standard_interface_eval_closure (SCM module); +SCM_DEPRECATED SCM scm_eval_closure_module (SCM eval_closure); |