Skip to content
Commit e3144ca6 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Anas Nashif
Browse files

sys: util: improve IS_EMPTY() implementation



The current implementation relies on preprocessor concatenation to
work. This makes it incompatible with any content which expansion
is not a valid preprocessor token such as strings, pointers, etc.
and therefore limits its usefulness. Replace it with an implementation
that can cope with all cases.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent e710f5ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment