summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2019-04-16 23:13:06 -0400
committerMark H Weaver <mhw@netris.org>2019-06-18 02:05:20 -0400
commitcc73c2ab5deda6257564c675613122da3ee85a7c (patch)
tree3a5f7dc8e14bcf3c232210e3913bc40560e64a01 /module
parenta23ee74fab7f192a8b3da76554d27944821754f8 (diff)
Add get-bytevector-some!.
* libguile/r6rs-ports.c (scm_get_bytevector_some_x): New procedure. * libguile/r6rs-ports.h (scm_get_bytevector_some_x): Add prototype. (scm_unget_bytevector): Move prototype next to 'scm_get_bytevector_some_x'. * module/ice-9/binary-ports.scm: Export 'get-bytevector-some!'. * doc/ref/api-io.texi (Binary I/O): Document it.
Diffstat (limited to 'module')
-rw-r--r--module/ice-9/binary-ports.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/ice-9/binary-ports.scm b/module/ice-9/binary-ports.scm
index e0da3df1a..62fd9786f 100644
--- a/module/ice-9/binary-ports.scm
+++ b/module/ice-9/binary-ports.scm
@@ -36,6 +36,7 @@
get-bytevector-n
get-bytevector-n!
get-bytevector-some
+ get-bytevector-some! ; Guile extension, not in R6RS
get-bytevector-all
get-string-n!
put-u8