riot_version.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2014 Freie Universität Berlin
3  * SPDX-FileCopyrightText: 2017 HAW-Hamburg
4  * SPDX-License-Identifier: LGPL-2.1-only
5  */
6 
7 #pragma once
8 
20 #include <stdint.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
51 #define RIOT_VERSION_NUM(major, minor, patch, extra) \
52  (((0ULL + major) << 48) + ((0ULL + minor) << 32) + \
53  ((0ULL + patch) << 16) + (extra))
54 
55 #ifdef __cplusplus
56 }
57 #endif
58