Skip to content
Commit 6ba69f19 authored by Dominik Ermel's avatar Dominik Ermel Committed by Carles Cufí
Browse files

sys/util.h: Add IS_EMPTY and LIST_DROP_EMPTY macros



IS_EMPTY macro allows to check if defined name is empty, i.e.
does not contain replacement list.
LIST_DROP_EMPTY macro may be used to process __VA_ARGS__ type lists,
e.g. a,b,,c , and remove empty elements.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 4aab0464
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment