diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-06-24 01:07:42 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-06-24 01:07:42 -0700 |
commit | d4e474f7179c54c985aa912328d1dff8dbfe7d40 (patch) | |
tree | a72eaf87e2d4f21808a288a9f0736516aac2fd7d /LICENSE-CYG | |
parent | 20c5a95e9e8e7ea823d25e4cf6bdcefcf8791c7d (diff) | |
download | txr-d4e474f7179c54c985aa912328d1dff8dbfe7d40.tar.gz txr-d4e474f7179c54c985aa912328d1dff8dbfe7d40.tar.bz2 txr-d4e474f7179c54c985aa912328d1dff8dbfe7d40.zip |
combi: fix permi and rpermi; impl combi, rcombi; test.
* combi.c (permi_get, permi_peek): Fix algorithm.
(permi_mark): New static function.
(permi_ops): Reference permi_mark for mark operation.
(permi): Initialize it->ul.next to nao as required by
new get/peek algorithm.
(rpermi_get, rpermi_peek): Fix algorithm.
(rpermi_mark): New static function.
(rpermi_ops): Reference permi_mark for mark operation.
(rpermi): Initialize it->ul.next to nao as required
by new get/peek algorithm.
(combi_get, combi_peek, combi_mark, combi_clone): New static
functions.
(combi_ops): New static structure.
(combi): New function.
(rcombi_get, rcombi_peek, rcombi_mark, rcombi_clone): New
static functions.
(rcombi_ops): New static structure.
(rcombi): New function.
* combi.h (combi, rcombi): Declared.
* tests/015/comb.tl: New tests.
Diffstat (limited to 'LICENSE-CYG')
0 files changed, 0 insertions, 0 deletions