diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-05-11 12:03:12 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-05-11 12:03:12 -0700 |
commit | d42389d842cbe7d40e7a60eba33ee1295673180b (patch) | |
tree | 737d99708c59382c74e7976a3d221ed18074c1c6 /lib.h | |
parent | 59da72099d08b1b2573cc80bcd1493033b479e0c (diff) | |
download | txr-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.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -796,6 +796,7 @@ INLINE val type_check(val self, val obj, type_t typecode) throw_mismatch(self, obj, typecode); return t; } +NORETURN void unsup_obj(val self, val obj); val car(val cons); val cdr(val cons); INLINE val us_car(val cons) { return cons->c.car; } |