Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
Loading...
Searching...
No Matches
icalversion.h File Reference

Declares macros for determining the library version. More...

Go to the source code of this file.

Macros

#define ICAL_CHECK_VERSION(major, minor, micro)
#define ICAL_MAJOR_VERSION   (3)
#define ICAL_MICRO_VERSION   ICAL_PATCH_VERSION
#define ICAL_MINOR_VERSION   (99)
#define ICAL_PACKAGE   "libical"
#define ICAL_PATCH_VERSION   (99)
#define ICAL_VERSION   "4.0"

Detailed Description

Declares macros for determining the library version.

Definition in file icalversion.h.

Macro Definition Documentation

◆ ICAL_CHECK_VERSION

#define ICAL_CHECK_VERSION ( major,
minor,
micro )
Value:
(ICAL_MAJOR_VERSION > (major) || \
(ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION > (minor)) || \
(ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION == (minor) && \
ICAL_MICRO_VERSION >= (micro)))
#define ICAL_MAJOR_VERSION
Definition icalversion.h:29
#define ICAL_MICRO_VERSION
Definition icalversion.h:41
#define ICAL_MINOR_VERSION
Definition icalversion.h:33

ICAL_CHECK_VERSION:

Parameters
majormajor version (e.g. 1 for version 1.2.5)
minorminor version (e.g. 2 for version 1.2.5)
micromicro version (e.g. 5 for version 1.2.5)
Returns
TRUE if the version of the LIBICAL header files is the same as or newer than the passed-in version.

Definition at line 52 of file icalversion.h.

◆ ICAL_MAJOR_VERSION

#define ICAL_MAJOR_VERSION   (3)

Return the library major version number.

Definition at line 29 of file icalversion.h.

◆ ICAL_MICRO_VERSION

#define ICAL_MICRO_VERSION   ICAL_PATCH_VERSION

Return the library micro version number.

Definition at line 41 of file icalversion.h.

◆ ICAL_MINOR_VERSION

#define ICAL_MINOR_VERSION   (99)

Return the library minor version number.

Definition at line 33 of file icalversion.h.

◆ ICAL_PACKAGE

#define ICAL_PACKAGE   "libical"

The library project name as a string.

Definition at line 20 of file icalversion.h.

◆ ICAL_PATCH_VERSION

#define ICAL_PATCH_VERSION   (99)

Return the library patch version number.

Definition at line 37 of file icalversion.h.

◆ ICAL_VERSION

#define ICAL_VERSION   "4.0"

The full library version as a string.

Definition at line 24 of file icalversion.h.