mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-02 07:40:30 +02:00
Move implementation of hooks to Scheme module
* module/ice-9/hooks.scm: New file. * am/bootstrap.am: Add new file. * module/ice-9/deprecated.scm: Add trampolines to (ice-9 hooks). * module/ice-9/scm-style-repl.scm: * module/ice-9/session.scm: * module/ice-9/top-repl.scm: * module/scripts/scan-api.scm: * guile-readline/ice-9/readline.scm: * benchmark-suite/benchmark-suite/lib.scm: * module/system/repl/command.scm: * module/system/repl/common.scm: * module/system/repl/debug.scm: * module/system/repl/error-handling.scm: * module/system/repl/hooks.scm: * module/system/repl/reader.scm: * module/system/repl/repl.scm: * module/ice-9/history.scm: * test-suite/tests/hooks.test: Use the new module. * module/oop/goops.scm: Remove <hook> class definition. * libguile/vm.c: * libguile/init.c: * libguile/Makefile.am: * libguile.h: Remove hooks.h includes. * libguile/hooks.c: * libguile/hooks.h: Remove. * libguile/deprecated.h: * libguile/deprecated.c: Add deprecation shims for C API.
This commit is contained in:
parent
110eafcafe
commit
f930af2737
27 changed files with 252 additions and 300 deletions
|
@ -82,7 +82,6 @@
|
|||
#include "gsubr.h"
|
||||
#include "hash.h"
|
||||
#include "hashtab.h"
|
||||
#include "hooks.h"
|
||||
#include "i18n.h"
|
||||
#include "instructions.h"
|
||||
#include "intrinsics.h"
|
||||
|
@ -396,7 +395,6 @@ scm_i_init_guile (struct gc_stack_addr base)
|
|||
scm_init_hashtab ();
|
||||
scm_init_deprecation ();
|
||||
scm_init_promises (); /* requires smob_prehistory */
|
||||
scm_init_hooks (); /* Requires smob_prehistory */
|
||||
scm_init_stime ();
|
||||
scm_init_gc (); /* Requires hooks and `get_internal_run_time' */
|
||||
scm_init_gc_protect_object (); /* requires threads_prehistory */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue