UniMRCP  1.7.0
Macros
uni_revision.h File Reference

UniMRCP Revision. More...

#include "uni_version.h"
Include dependency graph for uni_revision.h:

Go to the source code of this file.

Macros

#define UNI_REVISION   0
 
#define UNI_REVISION_STRING   "0"
 
#define UNI_REVISION_DATE   "2020-03-30"
 
#define UNI_REVISION_STAMP   20200330L
 
#define UNI_REVISION_AT_LEAST(rev)   ((rev) < UNI_REVISION)
 
#define UNI_FULL_VERSION_AT_LEAST(major, minor, patch, rev)
 
#define UNI_FULL_VERSION_STRING   (UNI_REVISION > 0) ? UNI_VERSION_STRING "-r" UNI_REVISION_STRING : UNI_VERSION_STRING
 

Detailed Description

UniMRCP Revision.

This file contains the revision number and other relevant information. The revision indicates the number of commits since the last release, and is supposed to be set by the maintainer on certain milestones between releases. The revision number is also reset to 0 on every new release.

Macro Definition Documentation

◆ UNI_FULL_VERSION_AT_LEAST

#define UNI_FULL_VERSION_AT_LEAST (   major,
  minor,
  patch,
  rev 
)
Value:
(((major) < UNI_MAJOR_VERSION) \
|| ((major) == UNI_MAJOR_VERSION && (minor) < UNI_MINOR_VERSION) \
|| ((major) == UNI_MAJOR_VERSION && (minor) == UNI_MINOR_VERSION && (patch) < UNI_PATCH_VERSION) \
|| ((major) == UNI_MAJOR_VERSION && (minor) == UNI_MINOR_VERSION && (patch) == UNI_PATCH_VERSION && (rev) <= UNI_REVISION))
#define UNI_MAJOR_VERSION
Definition: uni_version.h:34
#define UNI_REVISION
Definition: uni_revision.h:33
#define UNI_PATCH_VERSION
Definition: uni_version.h:46
#define UNI_MINOR_VERSION
Definition: uni_version.h:40

Check at compile time if the full version of UniMRCP is at least a certain level.

◆ UNI_FULL_VERSION_STRING

#define UNI_FULL_VERSION_STRING   (UNI_REVISION > 0) ? UNI_VERSION_STRING "-r" UNI_REVISION_STRING : UNI_VERSION_STRING

The formatted string of UniMRCP's full version. For example: release version string: 1.3.0 development version string: 1.3.0-r33

◆ UNI_REVISION

#define UNI_REVISION   0

Revision (number of commits since last release).

◆ UNI_REVISION_AT_LEAST

#define UNI_REVISION_AT_LEAST (   rev)    ((rev) < UNI_REVISION)

Check at compile time if the revision number is at least a certain level.

◆ UNI_REVISION_DATE

#define UNI_REVISION_DATE   "2020-03-30"

Revision date.

◆ UNI_REVISION_STAMP

#define UNI_REVISION_STAMP   20200330L

Revision stamp.

◆ UNI_REVISION_STRING

#define UNI_REVISION_STRING   "0"

Revision string.