diff options
author | Andy Wingo <wingo@pobox.com> | 2011-10-23 23:23:47 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-10-24 10:58:57 +0200 |
commit | 7005c60fcbb8053d58dde579d8eef40bfe4d670f (patch) | |
tree | 2eb3850e3f90d4bff713c9f2f00c0dded36d7f4f /libguile/print.c | |
parent | 2721f9182da74cf98426cc335f3f39c265cc412d (diff) | |
download | guile-7005c60fcbb8053d58dde579d8eef40bfe4d670f.tar.gz |
add weak table implementation
* libguile/weak-table.c:
* libguile/weak-table.h: New files, implementing open-addressed weak
hash tables, similar to the implementation of weak sets. This will
let us remove weak pairs.
* libguile.h:
* libguile/Makefile.am:
* libguile/evalext.c:
* libguile/gc.c:
* libguile/init.c:
* libguile/print.c:
* libguile/tags.h: Update all the pieces for the new files and tc7.
Diffstat (limited to 'libguile/print.c')
-rw-r--r-- | libguile/print.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libguile/print.c b/libguile/print.c index a619bfe76..095e48899 100644 --- a/libguile/print.c +++ b/libguile/print.c @@ -624,6 +624,9 @@ iprin1 (SCM exp, SCM port, scm_print_state *pstate) case scm_tc7_weak_set: scm_i_weak_set_print (exp, port, pstate); break; + case scm_tc7_weak_table: + scm_i_weak_table_print (exp, port, pstate); + break; case scm_tc7_fluid: scm_i_fluid_print (exp, port, pstate); break; |