ENet  v1.3.17
Reliable UDP networking library
Macros
utility.h File Reference

ENet utility header. More...

Macros

#define ENET_DIFFERENCE(x, y)   ((x) < (y) ? (y) - (x) : (x) - (y))
 
#define ENET_MAX(x, y)   ((x) > (y) ? (x) : (y))
 
#define ENET_MIN(x, y)   ((x) < (y) ? (x) : (y))
 

Detailed Description

ENet utility header.

Macro Definition Documentation

◆ ENET_DIFFERENCE

#define ENET_DIFFERENCE (   x,
 
)    ((x) < (y) ? (y) - (x) : (x) - (y))

◆ ENET_MAX

#define ENET_MAX (   x,
 
)    ((x) > (y) ? (x) : (y))

◆ ENET_MIN

#define ENET_MIN (   x,
 
)    ((x) < (y) ? (x) : (y))