deprecate lookup closures
authorAndy Wingo <wingo@pobox.com>
Wed, 23 May 2012 10:00:23 +0000 (12:00 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 23 May 2012 10:00:23 +0000 (12:00 +0200)
commit3f48638c8c82d7839b75204e475af691fcd67c33
treeb6620a485207fe45f1266227ad6d0d8b3ab7146b
parent62e15979b5d773dda79c4f44c07e919b5d0f6e18
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.
libguile/deprecated.c
libguile/deprecated.h
libguile/eval.h
libguile/goops.c
libguile/modules.c
libguile/modules.h