LibCarna Version 3.4.0
Loading...
Searching...
No Matches
Version.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010 - 2016 Leonid Kostrykin
3 *
4 * Chair of Medical Engineering (mediTEC)
5 * RWTH Aachen University
6 * Pauwelsstr. 20
7 * 52074 Aachen
8 * Germany
9 *
10 *
11 * Copyright (C) 2021 - 2025 Leonid Kostrykin
12 *
13 */
14
15#ifndef VERSION_H_6014714286
16#define VERSION_H_6014714286
17
28// ----------------------------------------------------------------------------------
29// LIBCARNA_MAJOR_VERSION
30// ----------------------------------------------------------------------------------
31
35#define LIBCARNA_MAJOR_VERSION 3
36
37
38
39// ----------------------------------------------------------------------------------
40// LIBCARNA_MINOR_VERSION
41// ----------------------------------------------------------------------------------
42
46#define LIBCARNA_MINOR_VERSION 4
47
48
49
50// ----------------------------------------------------------------------------------
51// LIBCARNA_PATCH_VERSION
52// ----------------------------------------------------------------------------------
53
57#define LIBCARNA_PATCH_VERSION 0
58
59
60
61// ----------------------------------------------------------------------------------
62// LIBCARNA_ASSERT_API_VERSION
63// ----------------------------------------------------------------------------------
64
73#define LIBCARNA_ASSERT_API_VERSION( expected_major_version, expected_minor_version, expected_patch_version ) \
74 static_assert( \
75 expected_major_version == LIBCARNA_MAJOR_VERSION && \
76 expected_minor_version == LIBCARNA_MINOR_VERSION && \
77 expected_patch_version >= LIBCARNA_PATCH_VERSION, \
78 "Incompatible Carna Version!" );
79
80
81
82#endif // VERSION_H_6014714286