From 8f1746790eee65207f127674a883a16fd6179d32 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 25 Dec 2020 13:45:42 -0500 Subject: Update documentation --- config_ver.h | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) (limited to 'config_ver.h') diff --git a/config_ver.h b/config_ver.h index be8aef2f..b4115f66 100644 --- a/config_ver.h +++ b/config_ver.h @@ -4,24 +4,49 @@ /// \file config_ver.h /// \brief Library configuration file +/// \details config_ver.h provides defines for library and compiler +/// versions. /// \details config.h was split into components in May 2019 to better /// integrate with Autoconf and its feature tests. The splitting occurred so /// users could continue to include config.h while allowing Autoconf /// to write new config_asm.h and new config_cxx.h using /// its feature tests. +/// \note You should include config.h rather than config_ver.h +/// directly. /// \sa Issue 835 /// \since Crypto++ 8.3 #ifndef CRYPTOPP_CONFIG_VERSION_H #define CRYPTOPP_CONFIG_VERSION_H -// Library version macro. Since this macro is in a header, it reflects -// the version of the library the headers came from. It is not -// necessarily the version of the library built as a shared object if -// versions are inadvertently mixed and matched. +/// \brief Library major version +/// \details CRYPTOPP_MAJOR reflects the major version of the library the +/// headers came from. It is not necessarily the version of the library built +/// as a shared object if versions are inadvertently mixed and matched. +/// \sa CRYPTOPP_VERSION, LibraryVersion(), HeaderVersion() +/// \since Crypto++ 8.2 #define CRYPTOPP_MAJOR 8 +/// \brief Library minor version +/// \details CRYPTOPP_MINOR reflects the minor version of the library the +/// headers came from. It is not necessarily the version of the library built +/// as a shared object if versions are inadvertently mixed and matched. +/// \sa CRYPTOPP_VERSION, LibraryVersion(), HeaderVersion() +/// \since Crypto++ 8.2 #define CRYPTOPP_MINOR 4 +/// \brief Library revision number +/// \details CRYPTOPP_REVISION reflects the revision number of the library the +/// headers came from. It is not necessarily the revision of the library built +/// as a shared object if versions are inadvertently mixed and matched. +/// \sa CRYPTOPP_VERSION, LibraryVersion(), HeaderVersion() +/// \since Crypto++ 8.2 #define CRYPTOPP_REVISION 0 + +/// \brief Full library version +/// \details CRYPTOPP_VERSION reflects the version of the library the headers +/// came from. It is not necessarily the version of the library built as a +/// shared object if versions are inadvertently mixed and matched. +/// \sa CRYPTOPP_MAJOR, CRYPTOPP_MINOR, CRYPTOPP_REVISION, LibraryVersion(), HeaderVersion() +/// \since Crypto++ 5.6 #define CRYPTOPP_VERSION 840 // Compiler version macros -- cgit v1.2.1