summaryrefslogtreecommitdiff
path: root/src/lib/tests/btree_test.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2024-01-21 10:33:31 +0100
committerSander Vrijders <sander@ouroboros.rocks>2024-01-31 10:27:56 +0100
commit396c311842ae7d138c13a6d054e1978d95af4c63 (patch)
tree52af4b3efb57f3b0bc6423fe8556c2f2dce01677 /src/lib/tests/btree_test.c
parent763d39ee64e95801ef972ceba74dd6c8c15b1ea7 (diff)
downloadouroboros-396c311842ae7d138c13a6d054e1978d95af4c63.tar.gz
ouroboros-396c311842ae7d138c13a6d054e1978d95af4c63.zip
lib: Make list empty on delete
The list_del operation now lets nxt and prv point to the element itself, so that list_is_empty(e) is true after list_del(e). Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests/btree_test.c')
0 files changed, 0 insertions, 0 deletions