summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-05-11 12:03:12 -0700
committerKaz Kylheku <kaz@kylheku.com>2025-05-11 12:03:12 -0700
commitd42389d842cbe7d40e7a60eba33ee1295673180b (patch)
tree737d99708c59382c74e7976a3d221ed18074c1c6 /lib.c
parent59da72099d08b1b2573cc80bcd1493033b479e0c (diff)
downloadtxr-d42389d842cbe7d40e7a60eba33ee1295673180b.tar.gz
txr-d42389d842cbe7d40e7a60eba33ee1295673180b.tar.bz2
txr-d42389d842cbe7d40e7a60eba33ee1295673180b.zip
New function: buf-xor-pattern.
* buf.c (buf_xor_pattern): New function. (buf_init): Register buf-xor-pattern intrinsic. * buf.h (buf_xor_pattern): Declared. * lib.[ch] (unsup_obj): Change function to external linkage and declare in header. * tests/012/buf.tl: New tests. * txr.1: Documented.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 8be3f708..5916e1c6 100644
--- a/lib.c
+++ b/lib.c
@@ -410,7 +410,7 @@ static val seq_iterable(seq_info_t si)
return nil;
}
-static void NORETURN unsup_obj(val self, val obj)
+NORETURN void unsup_obj(val self, val obj)
{
uw_throwf(type_error_s, lit("~a: unsupported object ~s"), self, obj, nao);
abort();