GNU Radio C++ API Reference  g90d26cb
The Free & Open Software Radio Ecosystem
version.h
Go to the documentation of this file.
1 #ifndef INCLUDED_GR_VERSION
2 #define INCLUDED_GR_VERSION
3 // clang-format off
4 #define GR_VERSION_MAJOR 3
5 #define GR_VERSION_API 11
6 #define GR_VERSION_MINOR 0
7 #define GR_VERSION_MAINT 1023
8 // clang-format on
9 //! \brief macro to convert versions to comparable integers
10 #define GR_MAKE_VERSION(major, api, minor, maint) \
11  ((maint) + ((minor) << 10) + ((api) << 20) + ((major) << 30))
12 #define GR_VERSION \
13  GR_MAKE_VERSION(GR_VERSION_MAJOR, GR_VERSION_API, GR_VERSION_MINOR, GR_VERSION_MAINT)
14 #endif