summaryrefslogtreecommitdiffstats
path: root/termios.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-24 18:29:53 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-24 18:29:53 -0700
commit0720e906157d8e51ada26b2bc81ce26a262c8964 (patch)
tree7523c5efab810d5fdced74ff31d077114da7d4b2 /termios.c
parent270c5dad176d7bd9add153392915dc562f92e48b (diff)
downloadtxr-0720e906157d8e51ada26b2bc81ce26a262c8964.tar.gz
txr-0720e906157d8e51ada26b2bc81ce26a262c8964.tar.bz2
txr-0720e906157d8e51ada26b2bc81ce26a262c8964.zip
New strlist list input stream type.
* stream.c (struct strlist_in): New struct type. (strlist_in_stream_mark, strlist_in_get_line, strlist_in_get_char, strlist_in_unget_char, strlist_in_get_prop, strlist_in_get_error_str): New static functions. (strlist_in_ops): New static struct. (make_strlist_input_stream): New function. (stream_init): Register make-strlist-input-stream intrinsic. * stream.h (make_strlist_input_stream): Declared. * txr.1: Documented make-strlist-input-stream. Call fill_stream_ops on new strlist_in_ops struct to fill in common default stream operations.
Diffstat (limited to 'termios.c')
0 files changed, 0 insertions, 0 deletions