ENet v1.3.18
Reliable UDP networking library
|
ENet time constants and macros. More...
Macros | |
#define | ENET_TIME_DIFFERENCE(a, b) ((a) - (b) >= ENET_TIME_OVERFLOW ? (b) - (a) : (a) - (b)) |
#define | ENET_TIME_GREATER(a, b) ((b) - (a) >= ENET_TIME_OVERFLOW) |
#define | ENET_TIME_GREATER_EQUAL(a, b) (! ENET_TIME_LESS (a, b)) |
#define | ENET_TIME_LESS(a, b) ((a) - (b) >= ENET_TIME_OVERFLOW) |
#define | ENET_TIME_LESS_EQUAL(a, b) (! ENET_TIME_GREATER (a, b)) |
#define | ENET_TIME_OVERFLOW 86400000 |
ENet time constants and macros.
#define ENET_TIME_DIFFERENCE | ( | a, | |
b | |||
) | ((a) - (b) >= ENET_TIME_OVERFLOW ? (b) - (a) : (a) - (b)) |
#define ENET_TIME_GREATER | ( | a, | |
b | |||
) | ((b) - (a) >= ENET_TIME_OVERFLOW) |
#define ENET_TIME_GREATER_EQUAL | ( | a, | |
b | |||
) | (! ENET_TIME_LESS (a, b)) |
#define ENET_TIME_LESS | ( | a, | |
b | |||
) | ((a) - (b) >= ENET_TIME_OVERFLOW) |
#define ENET_TIME_LESS_EQUAL | ( | a, | |
b | |||
) | (! ENET_TIME_GREATER (a, b)) |
#define ENET_TIME_OVERFLOW 86400000 |