mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
Dispatch hooks use "vp" rather than "vm"
* libguile/vm.c (vm_dispatch_hook): (vm_dispatch_apply_hook): (vm_dispatch_push_continuation_hook): (vm_dispatch_pop_continuation_hook): (vm_dispatch_next_hook): (vm_dispatch_abort_hook): (vm_dispatch_restore_continuation_hook): Use scm_vm pointer instead of Scheme vm object.
This commit is contained in:
parent
5515edc5f2
commit
59f85eedc2
2 changed files with 21 additions and 25 deletions
|
@ -111,8 +111,8 @@
|
|||
#else
|
||||
#define RUN_HOOK(exp)
|
||||
#endif
|
||||
#define RUN_HOOK0(h) RUN_HOOK (vm_dispatch_##h##_hook (vm))
|
||||
#define RUN_HOOK1(h, arg) RUN_HOOK (vm_dispatch_##h##_hook (vm, arg))
|
||||
#define RUN_HOOK0(h) RUN_HOOK (vm_dispatch_##h##_hook (vp))
|
||||
#define RUN_HOOK1(h, arg) RUN_HOOK (vm_dispatch_##h##_hook (vp, arg))
|
||||
|
||||
#define APPLY_HOOK() \
|
||||
RUN_HOOK0 (apply)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue