Use proper fold/for-each function types in `hashtab.h'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 26 Oct 2009 22:56:03 +0000 (23:56 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 26 Oct 2009 23:24:09 +0000 (00:24 +0100)
commita07010bf1828704edd9a40cadb0eaf820b8f3638
tree78f6c3141b4d357aa537ecb78f0a346819b2f141
parentf044da55c5b0c0cf444a25e5bd9a76fea5a95f2d
Use proper fold/for-each function types in `hashtab.h'.

* libguile/hashtab.h (scm_t_hash_fold_fn, scm_t_hash_handle_fn): New
  types.
  (scm_internal_hash_fold, scm_internal_hash_for_each_handle): Use them.

* libguile/hashtab.c (scm_internal_hash_fold): Take an
  `scm_t_hash_fold_fn'.  Update callers.
  (scm_internal_hash_for_each_handle): Take an `scm_t_hash_handle_fn'.
  Update callers.
libguile/hashtab.c
libguile/hashtab.h