Version Information

Version Information — Variables and macros to check the Cutter version

Synopsis

#define             CUTTER_CHECK_VERSION                (major,
                                                         minor,
                                                         micro)
#define             CUTTER_VERSION_MAJOR
#define             CUTTER_VERSION_MICRO
#define             CUTTER_VERSION_MINOR
#define             CUTTER_VERSION_STRING

Description

Cutter provides version information, primarily useful in configure checks for builds that have a configure script. Tests will not typically use the features described here.

Details

CUTTER_CHECK_VERSION()

#define             CUTTER_CHECK_VERSION(major, minor, micro)

Checks the version of the Cutter. Returns true if the version of the Cutter header files is the same as or newer than the passed-in version.

major :

the major version number.

minor :

the minor version number.

micro :

the micro version number.

Since 1.0.7


CUTTER_VERSION_MAJOR

#define CUTTER_VERSION_MAJOR 1

The major version number of the Cutter.


CUTTER_VERSION_MICRO

#define CUTTER_VERSION_MICRO 2

The micro version number of the Cutter.


CUTTER_VERSION_MINOR

#define CUTTER_VERSION_MINOR 2

The minor version number of the Cutter.


CUTTER_VERSION_STRING

#define CUTTER_VERSION_STRING "1.2.2"

The version number string of the Cutter with "#{MAJOR}.#{MINOR}.#{MICRO}" format.