mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
(scm_hashx_remove_x): Need to pass "closure" to scm_hash_fn_remove_x.
This commit is contained in:
parent
b906b056e4
commit
4cff503fc8
1 changed files with 2 additions and 1 deletions
|
@ -933,7 +933,8 @@ SCM_DEFINE (scm_hashx_remove_x, "hashx-remove!", 4, 0, 0,
|
|||
scm_t_ihashx_closure closure;
|
||||
closure.hash = hash;
|
||||
closure.assoc = assoc;
|
||||
return scm_hash_fn_remove_x (table, obj, scm_ihashx, scm_sloppy_assx, 0);
|
||||
return scm_hash_fn_remove_x (table, obj, scm_ihashx, scm_sloppy_assx,
|
||||
(void *) &closure);
|
||||
}
|
||||
#undef FUNC_NAME
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue