logic.h File Reference

Go to the source code of this file.


#define bool_eq(a, b)   (!(a)==!(b))
#define bool_neq(a, b)   (!(a)!=!(b))

Detailed Description

Macros for comparing the boolean value of integers.

Definition in file logic.h.

Macro Definition Documentation

◆ bool_eq

#define bool_eq (   a,
)    (!(a)==!(b))

Macro: true if two values have the same boolean value.

Definition at line 16 of file logic.h.

◆ bool_neq

#define bool_neq (   a,
)    (!(a)!=!(b))

Macro: true if two values have different boolean values.

Definition at line 18 of file logic.h.

Referenced by retry_listener_ports().