diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-02-25 15:59:59 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-02-25 15:59:59 -0800 |
commit | 4a1479685d26d06d6857096ae2f86708e8a60cf4 (patch) | |
tree | a8ab285ca6970c7bf998be94ff6f0caf3320ea60 /stream.h | |
parent | cb0c0a6144346521d6cf3b02703ba15f67b9b4f3 (diff) | |
download | txr-4a1479685d26d06d6857096ae2f86708e8a60cf4.tar.gz txr-4a1479685d26d06d6857096ae2f86708e8a60cf4.tar.bz2 txr-4a1479685d26d06d6857096ae2f86708e8a60cf4.zip |
* eval.c (eval_init): New put-byte function interned.
* stream.c (struct strm_ops): New member, put_byte.
(stdio_put_byte): New function.
(stdio_ops, pipe_ops, string_in_ops, byte_in_ops,
string_out_ops, strlist_out_ops, dir_ops): Updated.
(put_byte): New function.
* stream.h (put_byte): Declared.
Diffstat (limited to 'stream.h')
-rw-r--r-- | stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -48,6 +48,7 @@ val formatv(val stream, val string, val args); val put_string(val string, val stream); val put_line(val string, val stream); val put_char(val ch, val stream); +val put_byte(val byte, val stream); val flush_stream(val stream); val open_directory(val path); val open_file(val path, val mode_str); |