diff options
author | Andy Wingo <wingo@pobox.com> | 2016-04-05 15:13:36 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-04-05 15:16:26 +0200 |
commit | e8eeeeb1d4743fce89b28fa9360e71f6efd6a4e8 (patch) | |
tree | eff8fa1aa759bbb9d447fedc120160b27c944e63 /libguile/filesys.c | |
parent | c0d5f8b5551cb5857f170f8e1557096874e684c5 (diff) | |
download | guile-e8eeeeb1d4743fce89b28fa9360e71f6efd6a4e8.tar.gz |
Port close functions return void
* libguile/ports.h (scm_t_ptob_descriptor): The port close function now
returns void.
(scm_set_port_close): Adapt prototype.
* libguile/ports.c (scm_close_port): Always return true if we managed to
call the close function. There's no other sensible result; exceptions
are handled, well, exceptionally.
* libguile/fports.c (fport_close)
* libguile/r6rs-ports.c (custom_binary_port_close, transcoded_port_close):
* libguile/vports.c (soft_port_close): Adapt.
* doc/ref/api-io.texi (Port Implementation): Update.
Diffstat (limited to 'libguile/filesys.c')
0 files changed, 0 insertions, 0 deletions