diff options
author | Dimitri Staessens <[email protected]> | 2024-01-21 10:33:31 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2024-01-31 10:27:56 +0100 |
commit | 396c311842ae7d138c13a6d054e1978d95af4c63 (patch) | |
tree | 52af4b3efb57f3b0bc6423fe8556c2f2dce01677 /include | |
parent | 763d39ee64e95801ef972ceba74dd6c8c15b1ea7 (diff) | |
download | ouroboros-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 <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions