diff options
author | Ludovic Courtes <ludovic.courtes@laas.fr> | 2006-06-11 20:13:58 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-09-10 20:27:08 +0200 |
commit | 651a0735225da3e4887df018824e9baaada5194e (patch) | |
tree | 8ff6e56f6fa9988e2a5412859241fa6bf7f88e78 /libguile/init.c | |
parent | 92d8fd328c66df2132e13ff1428bb83b2f4350c2 (diff) | |
download | guile-651a0735225da3e4887df018824e9baaada5194e.tar.gz |
Implemented port finalization.
* libguile/ports.c (register_finalizer_for_port): New.
(finalize_port): New.
(scm_new_port_table_entry): Call `register_finalizer_for_port ()'
before returning the new port.
(scm_ports_prehistory): Use `scm_gc_malloc_pointerless ()' instead of
`scm_gc_malloc ()' when allocating room for SCM_I_PORT_TABLE.
git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-37
Diffstat (limited to 'libguile/init.c')
0 files changed, 0 insertions, 0 deletions