summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-02-16 18:56:39 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-02-16 18:56:39 -0800
commit8c299f44b94d4462147b9e3cb782c52c3669a1e5 (patch)
treef1ea94cd5de6f808696c1bb168d99b7c8766902c /stream.h
parentdcd14af875e74e92379031076d48c526b57a06bf (diff)
downloadtxr-8c299f44b94d4462147b9e3cb782c52c3669a1e5.tar.gz
txr-8c299f44b94d4462147b9e3cb782c52c3669a1e5.tar.bz2
txr-8c299f44b94d4462147b9e3cb782c52c3669a1e5.zip
* eval.c (eval_init): Register match-fun.
* match.c (v_do): Store match context. (match_fun): New function. * match.h (match_fun): Declared. * stream.c (streamp): New function. * stream.h (streamp): Declared. * txr.1: Stub section for match-fun. * txr.vim: Highlight match-fun.
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream.h b/stream.h
index a65954ba..14208f7a 100644
--- a/stream.h
+++ b/stream.h
@@ -35,6 +35,7 @@ val get_string_from_stream(val);
val make_strlist_output_stream(void);
val get_list_from_stream(val);
val make_dir_stream(DIR *);
+val streamp(val obj);
val close_stream(val stream, val throw_on_error);
val get_line(val);
val get_char(val);