mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
deprecate lookup closures
* libguile/deprecated.h (SCM_TOP_LEVEL_LOOKUP_CLOSURE): * libguile/deprecated.c (scm_lookup_closure_module): (scm_module_lookup_closure): (scm_current_module_lookup_closure): Deprecate this part of the eval closure interface. It was unused internally, after the scm_sym2var refactor. * libguile/eval.h: * libguile/modules.c: * libguile/modules.h: Remove deprecated code. * libguile/goops.c (scm_ensure_accessor): Use scm_module_variable instead of calling the lookup closure. However I'm not sure that this code is used at all.
This commit is contained in:
parent
62e15979b5
commit
3f48638c8c
6 changed files with 70 additions and 60 deletions
|
@ -119,16 +119,13 @@ SCM_API void scm_c_export (const char *name, ...);
|
|||
|
||||
SCM_API SCM scm_module_public_interface (SCM module);
|
||||
SCM_API SCM scm_module_import_interface (SCM module, SCM sym);
|
||||
SCM_API SCM scm_module_lookup_closure (SCM module);
|
||||
SCM_API SCM scm_module_transformer (SCM module);
|
||||
SCM_API SCM scm_current_module_lookup_closure (void);
|
||||
SCM_API SCM scm_current_module_transformer (void);
|
||||
SCM_API SCM scm_eval_closure_lookup (SCM eclo, SCM sym, SCM definep);
|
||||
SCM_API SCM scm_standard_eval_closure (SCM module);
|
||||
SCM_API SCM scm_standard_interface_eval_closure (SCM module);
|
||||
SCM_API SCM scm_eval_closure_module (SCM eval_closure); /* deprecated already */
|
||||
SCM_API SCM scm_get_pre_modules_obarray (void);
|
||||
SCM_API SCM scm_lookup_closure_module (SCM proc);
|
||||
|
||||
SCM_INTERNAL void scm_modules_prehistory (void);
|
||||
SCM_INTERNAL void scm_init_modules (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue