summaryrefslogtreecommitdiffstats
path: root/buf.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2024-05-27 20:20:14 -0700
committerKaz Kylheku <kaz@kylheku.com>2024-05-27 20:20:14 -0700
commit6bccfe8a55a12ef162fd945633c130f8b3362529 (patch)
tree2c0c75c5022003f0de0f8d6f20bfa70bc76d9266 /buf.h
parent55cf3cae3665cab1264fe00ec31859d8dba13027 (diff)
downloadtxr-6bccfe8a55a12ef162fd945633c130f8b3362529.tar.gz
txr-6bccfe8a55a12ef162fd945633c130f8b3362529.tar.bz2
txr-6bccfe8a55a12ef162fd945633c130f8b3362529.zip
quasiliterals: buffers in hex, separation for strings and buffers.
In this commit, output variables in the TXR Pattern language and in TXR Lisp quasiliterals now support separator strings for values that are strings and buffers. Values which are buffers appear
Diffstat (limited to 'buf.h')
-rw-r--r--buf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/buf.h b/buf.h
index 3d2ebc01..666152f4 100644
--- a/buf.h
+++ b/buf.h
@@ -115,6 +115,8 @@ val buf_get_cptr(val buf, val pos);
val buf_print(val buf, val stream);
val buf_pprint(val buf, val stream);
+val buf_str_sep(val buf, val sep, val self);
+
void buf_hex(val buf, char *, size_t, int);
val make_buf_stream(val buf_opt);