diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-06-18 07:45:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-06-18 07:45:53 -0700 |
commit | d3aa4933b780e3fbb81d6acacbce0979da6a7f39 (patch) | |
tree | 89cb3e11419d9101f7f0a07d82881168f8e2980b /lib.h | |
parent | 8331e7f693366f7775ab107953678dc4909a4068 (diff) | |
download | txr-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |