diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-06-02 19:57:24 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-06-02 19:57:24 -0700 |
commit | c612409cd38d22a6c8926ee92b89ec7b17a1f578 (patch) | |
tree | ccb04cba08fa4b0e21216f84b6b6fb277d623876 | |
parent | 446bfc27eeac1e1c3c99ed71a6da3e64a87c5987 (diff) | |
download | txr-c612409cd38d22a6c8926ee92b89ec7b17a1f578.tar.gz txr-c612409cd38d22a6c8926ee92b89ec7b17a1f578.tar.bz2 txr-c612409cd38d22a6c8926ee92b89ec7b17a1f578.zip |
streams: get-string for string byte input stream.
* stream.c (byte_in_ops): Wire get_string operation to
generic_get_string, giving the stream get-line and get-string
support.
-rw-r--r-- | stream.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2306,7 +2306,8 @@ static struct strm_ops byte_in_ops = cobj_eq_hash_op, 0), wli("byte-input-stream"), - 0, 0, 0, 0, + 0, 0, 0, + generic_get_string, byte_in_get_char, byte_in_get_byte, byte_in_unget_char, |