diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-27 06:52:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-27 06:52:46 -0700 |
commit | f6d726cd185524fef00572b2e18a186926222b29 (patch) | |
tree | f1f543ef05ee35b75031a4276bfca16f7ada9e55 /stream.h | |
parent | 25f06fa13e92347e9a4d3e506473642e593aeccc (diff) | |
download | txr-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |