vlist: define vlist_for_each_element_safe
authorDaniel Golle <daniel@makrotopia.org>
Fri, 12 Nov 2021 20:04:29 +0000 (20:04 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 20 Nov 2021 17:44:11 +0000 (17:44 +0000)
commitcce5e351278b307af7f69931971e3d4e060117d7
treef79f5d0a076433676c7ce90d9b6bcf4c9a87976f
parentc86a894ec63d83ecf2c373bbf9dc8fba9713d942
vlist: define vlist_for_each_element_safe

Yet another macro wrapper around the corresponding avl_* macro.
This new macro makes it possible to iterate over vlists in ways which
may have destructive consequences without being punished by segfault.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
vlist.h