libsmu  1.0.4
Library for interfacing with ADALM1000 devices
version.hpp
Go to the documentation of this file.
1 // Released under the terms of the BSD License
2 // (C) 2016, Analog Devices, Inc.
3 
8 
9 #pragma once
10 
12 #define LIBSMU_VERSION_MAJOR 1
13 
15 #define LIBSMU_VERSION_MINOR 0
16 
18 #define LIBSMU_VERSION_PATCH 4
19 
21 #define LIBSMU_VERSION ((LIBSMU_VERSION_MAJOR << 16) |\
22  (LIBSMU_VERSION_MINOR << 8) |\
23  LIBSMU_VERSION_PATCH)
24 
26 #define LIBSMU_VERSION_STR "1.0.4"
27 
29 inline const char* libsmu_version_str() {
30  return LIBSMU_VERSION_STR;
31 }
32 
34 inline uint32_t libsmu_version_major() {
35  return LIBSMU_VERSION_MAJOR;
36 }
37 
39 inline uint32_t libsmu_version_minor() {
40  return LIBSMU_VERSION_MINOR;
41 }
42 
44 inline uint32_t libsmu_version_patch() {
45  return LIBSMU_VERSION_PATCH;
46 }
#define LIBSMU_VERSION_PATCH
The patch version of the libsmu library (0.0.X).
Definition: version.hpp:18
#define LIBSMU_VERSION_MAJOR
The major version of the libsmu library (X.0.0).
Definition: version.hpp:12
#define LIBSMU_VERSION_STR
A string representing the libsmu library version.
Definition: version.hpp:26
#define LIBSMU_VERSION_MINOR
The minor version of the libsmu library (0.X.0).
Definition: version.hpp:15