Orxonox
0.0.5 Codename: Arcturus
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
external
enet
time.h
Go to the documentation of this file.
1
5
#ifndef __ENET_TIME_H__
6
#define __ENET_TIME_H__
7
8
#define ENET_TIME_OVERFLOW 86400000
9
10
#define ENET_TIME_LESS(a, b) ((a) - (b) >= ENET_TIME_OVERFLOW)
11
#define ENET_TIME_GREATER(a, b) ((b) - (a) >= ENET_TIME_OVERFLOW)
12
#define ENET_TIME_LESS_EQUAL(a, b) (! ENET_TIME_GREATER (a, b))
13
#define ENET_TIME_GREATER_EQUAL(a, b) (! ENET_TIME_LESS (a, b))
14
15
#define ENET_TIME_DIFFERENCE(a, b) ((a) - (b) >= ENET_TIME_OVERFLOW ? (b) - (a) : (a) - (b))
16
17
#endif
/* __ENET_TIME_H__ */
18
Generated on Fri Apr 12 2019 01:25:40 for Orxonox by
1.8.11