summaryrefslogtreecommitdiff
path: root/libguile/print.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-02-14 00:11:39 +0100
committerAndy Wingo <wingo@pobox.com>2012-02-14 00:11:39 +0100
commitca2ec018f2131fc137e7bfb9119287d1fa915435 (patch)
tree648ea8f94734c61e1ae4a3e1a1716449ea63bbe9 /libguile/print.c
parentaac980de43a0466b968a56607664f5ebbca6b751 (diff)
downloadguile-ca2ec018f2131fc137e7bfb9119287d1fa915435.tar.gz
string ports simplification
* libguile/strports.c (st_fill_input): Rename from stfill_buffer, and remove an unneeded scm_return_first_int. (st_resize_port): Minor variable renaming. (st_write): Keep read_pos updated to be the same as write_pos. If we need to resize, do so only once. (st_seek): No more need to flush. (st_truncate): Update read_pos here too. (scm_mkstrport): No need to flush here. (scm_strport_to_string): Just call scm_from_stringn; rely on it to detect the latin1 case. (scm_make_stptob): No more flush function.
Diffstat (limited to 'libguile/print.c')
0 files changed, 0 insertions, 0 deletions