distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortosVersion.h
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_DISTORTOSVERSION_H_
13 #define INCLUDE_DISTORTOS_DISTORTOSVERSION_H_
14 
16 #define DISTORTOS_VERSION_MAJOR 0
17 
19 #define DISTORTOS_VERSION_MINOR 4
20 
22 #define DISTORTOS_VERSION_PATCH 0
23 
25 #define DISTORTOS_VERSION (DISTORTOS_VERSION_MAJOR << 16 | DISTORTOS_VERSION_MINOR << 8 | DISTORTOS_VERSION_PATCH)
26 
28 #define STRINGIZE_INTERNAL(x) #x
29 
31 #define STRINGIZE(x) STRINGIZE_INTERNAL(x)
32 
34 #define DISTORTOS_VERSION_STRING \
35  STRINGIZE(DISTORTOS_VERSION_MAJOR) "." STRINGIZE(DISTORTOS_VERSION_MINOR) "." STRINGIZE(DISTORTOS_VERSION_PATCH)
36 
37 #endif /* INCLUDE_DISTORTOS_DISTORTOSVERSION_H_ */