reimplement hashtab.c's weak hash tables in terms of weak-table.c
authorAndy Wingo <wingo@pobox.com>
Mon, 24 Oct 2011 05:57:17 +0000 (07:57 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 24 Oct 2011 10:48:15 +0000 (12:48 +0200)
commit54a9b981a4e64dd58e1d3dec474b8c397c30c1c9
tree1a9ef59642abaea035d71b2da9de2f7e9222b08b
parent7005c60fcbb8053d58dde579d8eef40bfe4d670f
reimplement hashtab.c's weak hash tables in terms of weak-table.c

* libguile/hashtab.c:
* libguile/hashtab.h: Reimplement the weak hash table implementation in
  terms of weak tables.  All is well except for the horrific hack for
  hashx tables.

* libguile/weak-table.h:
* libguile/weak-table.c (scm_make_weak_key_hash_table)
  (scm_make_weak_value_hash_table, scm_make_doubly_weak_hash_table)
  (scm_weak_key_hash_table_p, scm_weak_value_hash_table_p)
  (scm_doubly_weak_hash_table_p): Move these definitions here.
libguile/hashtab.c
libguile/hashtab.h
libguile/weak-table.c
libguile/weak-table.h