summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2017-03-21 20:56:38 +0100
committerJakub Hrozek <jhrozek@redhat.com>2017-03-29 14:00:17 +0200
commit34228050af1e25706f61ec9df648852284b61c2b (patch)
treed4e7042066e9e2da3a1325c38ed4babffaa1256f /src/python
parentfb81f337b68c85471c3f5140850dccf549a2d0ac (diff)
DLINKLIST: Add DLIST_FOR_EACH_SAFE macro
This macro, as DLIST_FOR_EACH, iterates over the whole list. The main difference between both is that in the _SAFE version the pointer to the next list node is stored, allowing us to delete the current node safely. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions