Tor 0.4.9.2-alpha-dev
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros
logic.h File Reference

Macros for comparing the boolean value of integers. More...

Go to the source code of this file.

Macros

#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.