Skip to content
Commit 1edc84f5 authored by Martí Bolívar's avatar Martí Bolívar Committed by Carles Cufi
Browse files

sys/util.h: add UTIL_OR and UTIL_AND



These are short-circuiting utility helpers that can save typing
in situations where avoiding evaluation of the not-taken branch
skips invalid expressions.

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent 3c7a9397
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment