1
Fork 0
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:
Kevin Ryde 2005-04-22 23:33:15 +00:00
parent b906b056e4
commit 4cff503fc8

View file

@ -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