summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-06-18 07:45:53 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-06-18 07:45:53 -0700
commitd3aa4933b780e3fbb81d6acacbce0979da6a7f39 (patch)
tree89cb3e11419d9101f7f0a07d82881168f8e2980b /lib.h
parent8331e7f693366f7775ab107953678dc4909a4068 (diff)
downloadtxr-d3aa4933b780e3fbb81d6acacbce0979da6a7f39.tar.gz
txr-d3aa4933b780e3fbb81d6acacbce0979da6a7f39.tar.bz2
txr-d3aa4933b780e3fbb81d6acacbce0979da6a7f39.zip
New function: bitset.
* arith.c (bitset_s): New symbol variable. (bitset): New function. (arith_init): bitset_s initialized, bitset intrinsic registered. * lib.h (bitset): Declared. * txr.1: Documented bitset function and method.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index 6189d225..9bcf2b22 100644
--- a/lib.h
+++ b/lib.h
@@ -796,6 +796,7 @@ val ash(val a, val bits);
val bit(val a, val bit);
val maskv(struct args *bits);
val logcount(val n);
+val bitset(val n);
val string_own(wchar_t *str);
val string(const wchar_t *str);
val string_utf8(const char *str);