$darkmode
Libical API Documentation
4.0 STABLE VERSION
Visit the v3.0 documentation
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
libical
icalversion.h
Go to the documentation of this file.
1
/*======================================================================
2
FILE: icalversion.h
3
CREATOR: eric 20 March 1999
4
5
SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
6
SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
7
======================================================================*/
8
14
#ifndef ICAL_VERSION_H
15
#define ICAL_VERSION_H
16
20
#define ICAL_PACKAGE "libical"
21
24
#define ICAL_VERSION "4.0"
25
29
#define ICAL_MAJOR_VERSION (4)
30
33
#define ICAL_MINOR_VERSION (0)
34
37
#define ICAL_PATCH_VERSION (3)
38
41
#define ICAL_MICRO_VERSION ICAL_PATCH_VERSION
42
52
#define ICAL_CHECK_VERSION(major,minor,micro) \
53
(ICAL_MAJOR_VERSION > (major) || \
54
(ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION > (minor)) || \
55
(ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION == (minor) && \
56
ICAL_MICRO_VERSION >= (micro)))
57
58
#endif
Generated by
1.8.10