]> 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)
committerTom Rini <trini@konsulko.com>
Mon, 4 Nov 2024 03:27:12 +0000 (21:27 -0600)
commitd785a77d18acdf6714f4570c14e622caadf4d5e3
treef56b11412024f9d23d7d2e97f7da5e4430fa9290
parent1d49f78c362981435a88d887c777ccc445f5a4e7
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