distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortosVersion.h File Reference

distortos version More...

Go to the source code of this file.

Macros

#define DISTORTOS_VERSION_MAJOR   0
 major version of distortos More...
 
#define DISTORTOS_VERSION_MINOR   4
 minor version of distortos More...
 
#define DISTORTOS_VERSION_PATCH   0
 patch version of distortos More...
 
#define DISTORTOS_VERSION   (DISTORTOS_VERSION_MAJOR << 16 | DISTORTOS_VERSION_MINOR << 8 | DISTORTOS_VERSION_PATCH)
 distortos version as a 32-bit variable More...
 
#define STRINGIZE_INTERNAL(x)   #x
 internals of STRINGIZE() macro More...
 
#define STRINGIZE(x)   STRINGIZE_INTERNAL(x)
 macro used for stringification More...
 
#define DISTORTOS_VERSION_STRING   STRINGIZE(DISTORTOS_VERSION_MAJOR) "." STRINGIZE(DISTORTOS_VERSION_MINOR) "." STRINGIZE(DISTORTOS_VERSION_PATCH)
 distortos version as string More...
 

Detailed Description

distortos version

Author
Copyright (C) 2016-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Macro Definition Documentation

◆ DISTORTOS_VERSION

#define DISTORTOS_VERSION   (DISTORTOS_VERSION_MAJOR << 16 | DISTORTOS_VERSION_MINOR << 8 | DISTORTOS_VERSION_PATCH)

distortos version as a 32-bit variable

◆ DISTORTOS_VERSION_MAJOR

#define DISTORTOS_VERSION_MAJOR   0

major version of distortos

◆ DISTORTOS_VERSION_MINOR

#define DISTORTOS_VERSION_MINOR   4

minor version of distortos

◆ DISTORTOS_VERSION_PATCH

#define DISTORTOS_VERSION_PATCH   0

patch version of distortos

◆ DISTORTOS_VERSION_STRING

distortos version as string

◆ STRINGIZE

#define STRINGIZE (   x)    STRINGIZE_INTERNAL(x)

macro used for stringification

◆ STRINGIZE_INTERNAL

#define STRINGIZE_INTERNAL (   x)    #x

internals of STRINGIZE() macro