Commit e684ed9f authored by Christopher Friedt's avatar Christopher Friedt Committed by Carles Cufi
Browse files

toolchain: common: iterable sections: add alternate foreach



Previously, it was possible to declare an iterable section using
the alternate form (where the `out_type` does not correspond
to the `struct_type`) but there was no convenient means to
iterate over them.

Add `STRUCT_SECTION_FOREACH_ALTERNATE()` to fill the gap.

Signed-off-by: default avatarChris Friedt <cfriedt@meta.com>
parent eef95536
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment