riot_version.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Freie Universität Berlin
3  * 2017 HAW-Hamburg
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
10 #pragma once
11 
23 #include <stdint.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
54 #define RIOT_VERSION_NUM(major, minor, patch, extra) \
55  (((0ULL + major) << 48) + ((0ULL + minor) << 32) + \
56  ((0ULL + patch) << 16) + (extra))
57 
58 #ifdef __cplusplus
59 }
60 #endif
61