summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2021-09-12 00:43:22 -0400
committerKaz Kylheku <kaz@kylheku.com>2021-09-14 00:19:02 -0700
commit7c174401f4926683d26e5b638b95d8956cfdb211 (patch)
treedba83899339f3621eb26d9e6bddf7c42855127b3 /lisplib.c
parent44f4ef01ce095d334769b071460f19c5d74217c3 (diff)
downloadtxr-7c174401f4926683d26e5b638b95d8956cfdb211.tar.gz
txr-7c174401f4926683d26e5b638b95d8956cfdb211.tar.bz2
txr-7c174401f4926683d26e5b638b95d8956cfdb211.zip
defset: add set-mask and clear-mask.
* stdlib/defset.tl (set-mask, clear-mask): New update macros. * stdlib/optimize.tl (calc-liveness): Use the new macros. * stdlib/socket.tl (sys:str-inaddr-net-impl, str-in6addr-net): Same. * stdlib/termios.tl (set-iflags, set-oflags, set-cflags, set-lflags, clear-iflags, clear-oflags, clear-cflags, clear-lflags): Same. * lisplib.c (defset_set_entries): Add set-mask and clear-mask to autoload symbols for defset. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'lisplib.c')
-rw-r--r--lisplib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisplib.c b/lisplib.c
index 582788f2..3a5beb78 100644
--- a/lisplib.c
+++ b/lisplib.c
@@ -809,6 +809,7 @@ static val defset_set_entries(val dlt, val fun)
val name[] = {
lit("defset"), lit("sub-list"), lit("sub-vec"), lit("sub-str"),
lit("left"), lit("right"), lit("key"),
+ lit("set-mask"), lit("clear-mask"),
nil
};
set_dlt_entries(dlt, name, fun);