summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-27 06:52:46 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-27 06:52:46 -0700
commitf6d726cd185524fef00572b2e18a186926222b29 (patch)
treef1f543ef05ee35b75031a4276bfca16f7ada9e55 /stream.h
parent25f06fa13e92347e9a4d3e506473642e593aeccc (diff)
downloadtxr-f6d726cd185524fef00572b2e18a186926222b29.tar.gz
txr-f6d726cd185524fef00572b2e18a186926222b29.tar.bz2
txr-f6d726cd185524fef00572b2e18a186926222b29.zip
New function pure-rel-path-p.
* stream.c (plp_regex): New static variable. (pure_rel_path_p): New function. (stream_init): gc-protect plp_regex. Register pure-rel-path-p intrinsic. * txr.1: Document pure-rel-path-p and slightly revise abs-path-p.
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 828ec25a..5c2fdc47 100644
--- a/stream.h
+++ b/stream.h
@@ -202,5 +202,6 @@ val catenated_stream_push(val new_stream, val cat_stream);
val remove_path(val path, val throw_on_error);
val rename_path(val from, val to);
val abs_path_p(val path);
+val pure_rel_path_p(val path);
void stream_init(void);