summaryrefslogtreecommitdiff
path: root/doc/ref/hierarchy.txt
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2013-04-06 01:42:45 -0400
committerMark H Weaver <mhw@netris.org>2013-04-07 10:14:44 -0400
commit7f6c3f8f0012e916469fa6c50b44c621ebdc89ac (patch)
tree220b67e9dc1ee7482a66dc3a5a2e6898499d2f45 /doc/ref/hierarchy.txt
parente1966d0e214b0967c19da71b235196adb057d2b5 (diff)
downloadguile-7f6c3f8f0012e916469fa6c50b44c621ebdc89ac.tar.gz
Implement efficient 'scm_unget_bytes' and 'unget-bytevector'.
* libguile/ports.c (scm_i_unget_bytes): New static function. (scm_unget_bytes): New API function. (scm_unget_byte): Rewrite to simply call 'scm_i_unget_bytes'. (scm_ungetc, scm_peek_char, looking_at_bytes): Use 'scm_i_unget_bytes'. * libguile/ports.h: Add prototype for 'scm_unget_bytes'. * libguile/fports.c (scm_setvbuf): Use 'scm_unget_bytes'. * libguile/r6rs-ports.c (scm_unget_bytevector): New procedure. * module/ice-9/binary-ports.scm (unget-bytevector): New export. * doc/ref/api-io.texi (R6RS Binary Input): Add documentation. (R6RS I/O Ports): Update brief description of (ice-9 binary-ports) to reflect the new reality: it is no longer a subset of (rnrs io ports). * test-suite/tests/ports.test ("unget-bytevector"): Add test.
Diffstat (limited to 'doc/ref/hierarchy.txt')
0 files changed, 0 insertions, 0 deletions