diff options
author | Andy Wingo <wingo@pobox.com> | 2011-10-23 20:51:52 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-10-23 20:52:29 +0200 |
commit | 2721f9182da74cf98426cc335f3f39c265cc412d (patch) | |
tree | df24895aaa6fabcc4103d263e40f540f24c141ff /libguile.h | |
parent | 7887be7df59b6f909aa9008454354f45dac1a8ea (diff) | |
download | guile-2721f9182da74cf98426cc335f3f39c265cc412d.tar.gz |
add scm_c_make_port; the port table is now a weak set
* libguile/ports.c (scm_c_make_port_with_encoding, scm_c_make_port): New
functions, to replace scm_new_port_table_entry. Use a weak set
instead of a weak table.
(scm_i_remove_port):
(scm_c_port_for_each, scm_port_for_each): Adapt to use weak set.
(scm_i_void_port): Use scm_c_make_port.
(scm_init_ports): Make a weak set.
* libguile/fports.c:
* libguile/ioext.c:
* libguile/r6rs-ports.c:
* libguile/strports.c:
* libguile/vports.c: Adapt to use the new scm_c_make_port API.
Diffstat (limited to 'libguile.h')
0 files changed, 0 insertions, 0 deletions