log4cplus  2.1.0
Namespaces | Macros | Variables
version.h File Reference
#include <log4cplus/config.hxx>
Include dependency graph for version.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 log4cplus
 

Macros

#define LOG4CPLUS_MAKE_VERSION(major, minor, point)    (major * 1000 * 1000u + minor * 1000u + point)
 
#define LOG4CPLUS_MAKE_VERSION_STR(major, minor, point)    #major "." #minor "." #point
 
#define LOG4CPLUS_VERSION   LOG4CPLUS_MAKE_VERSION(2, 1, 0)
 This is log4cplus version number as unsigned integer. More...
 
#define LOG4CPLUS_VERSION_STR   LOG4CPLUS_MAKE_VERSION_STR(2, 1, 0)
 This is log4cplus version number as a string. More...
 

Variables

LOG4CPLUS_EXPORT unsigned const log4cplus::version
 
LOG4CPLUS_EXPORT char const log4cplus::versionStr []
 

Macro Definition Documentation

◆ LOG4CPLUS_MAKE_VERSION

#define LOG4CPLUS_MAKE_VERSION (   major,
  minor,
  point 
)     (major * 1000 * 1000u + minor * 1000u + point)

Definition at line 35 of file version.h.

◆ LOG4CPLUS_MAKE_VERSION_STR

#define LOG4CPLUS_MAKE_VERSION_STR (   major,
  minor,
  point 
)     #major "." #minor "." #point

Definition at line 38 of file version.h.

◆ LOG4CPLUS_VERSION

#define LOG4CPLUS_VERSION   LOG4CPLUS_MAKE_VERSION(2, 1, 0)

This is log4cplus version number as unsigned integer.

This must be kept on a single line. It is used by Autotool and CMake build systems to parse version number.

Definition at line 44 of file version.h.

◆ LOG4CPLUS_VERSION_STR

#define LOG4CPLUS_VERSION_STR   LOG4CPLUS_MAKE_VERSION_STR(2, 1, 0)

This is log4cplus version number as a string.

Definition at line 47 of file version.h.