]> git.dujemihanovic.xyz Git - u-boot.git/commit
alist: Add for-loop helpers
authorSimon Glass <sjg@chromium.org>
Sat, 19 Oct 2024 15:21:45 +0000 (09:21 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 2 Nov 2024 17:13:59 +0000 (11:13 -0600)
commit83bc5989fc5f71e2c40d75ea786ccbf937b9fbab
tree0b298b79b2413d877ef2091499e1b6723654716c
parent2ce146a3de7beeaa89ef4f8677fe71a38546156b
alist: Add for-loop helpers

Add some macros which permit easy iteration through an alist, similar to
those provided by the 'list' implementation.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/alist.h
lib/alist.c
test/lib/alist.c