util: convert macros to inline functions
Functionally equivalent except the usual macro footguns are avoided and type safety is increased.
Signed-off-by: Simon Ser contact@emersion.fr
Functionally equivalent except the usual macro footguns are avoided and type safety is increased.
Signed-off-by: Simon Ser contact@emersion.fr