]> git.ipfire.org Git - thirdparty/systemd.git/commit
macro: add new FOREACH_POINTER() macro magic
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Apr 2020 16:52:24 +0000 (18:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 1 Jul 2020 09:17:28 +0000 (11:17 +0200)
commit1146b664e60cc16f9c3ab828029956739ae9552d
treeac8a95df6e71e8a0d6b3475512eb09943a592709
parent428d32afeaf9bb09909794ea5f9c047c2fb56a8f
macro: add new FOREACH_POINTER() macro magic

This allows us to iterate through a series of specified pointers. It's a
bit like FOREACH_STRING(), but for all kinds of pointers.
src/basic/macro.h
src/test/test-util.c