blob: c00c8a18331cfdb34acba71482c0a211a1e4e7f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
/*
Copyright (C) 2003 - 2023 GraphicsMagick Group
Copyright (C) 2002 ImageMagick Studio
Copyright 1991-1999 E. I. du Pont de Nemours and Company
This program is covered by multiple licenses, which are described in
Copyright.txt. You should have received a copy of Copyright.txt with this
package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
GraphicsMagick version and copyright.
*/
#ifndef _MAGICK_VERSION_H
#define _MAGICK_VERSION_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
/*
Define declarations.
MagickLibVersion and MagickLibVersionNumber are defined differently
than they are in ImageMagick. The three fields are based on library
interface versioning. Each field in MagickLibVersion is one byte.
The most significant field (third byte from the right) defines the
library major interface, which is incremented whenever the library
ABI changes incompatibly with preceding versions. The second field
identifies an interface (a span) in a series of upward-compatible
interfaces with the same major interface (such as when only new
functions have) been added. The least significant field specifies
the revision across 100% compatible interfaces.
MagickLibVersionText provides a simple human-readable string for
identifying the release.
*/
#define MagickPackageName "@PACKAGE_NAME@"
#define MagickCopyright "Copyright (C) 2002-2023 GraphicsMagick Group.\nAdditional copyrights and licenses apply to this software.\nSee http://www.GraphicsMagick.org/www/Copyright.html for details."
#define MagickLibVersion @MAGICK_LIB_VERSION@
#define MagickLibVersionText "@MAGICK_LIB_VERSION_TEXT@"
#define MagickLibVersionNumber @MAGICK_LIB_VERSION_NUMBER@
#define MagickChangeDate "@PACKAGE_CHANGE_DATE@"
#define MagickReleaseDate "@PACKAGE_RELEASE_DATE@"
/*
The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
provide both the newest and oldest interfaces supported by the
library. The 'newest' interface is incremented if new interfaces
are added to the library. The 'oldest' interface is reset to the
value of 'newest' if an existing interface is changed incompatibly,
or an interface is removed. This scheme is similar to that used by
ELF libraries.
Note that the values used are related to those in
MagickLibVersionNumber, but these are broken out and simplified so
that they can be easily used in C pre-processor logic.
*/
#define MagickLibInterfaceNewest @MAGICK_LIB_INTERFACE_NEWEST@
#define MagickLibInterfaceOldest @MAGICK_LIB_INTERFACE_OLDEST@
#if (QuantumDepth == 8)
#define MagickQuantumDepth "Q8"
#elif (QuantumDepth == 16)
#define MagickQuantumDepth "Q16"
#elif (QuantumDepth == 32)
#define MagickQuantumDepth "Q32"
#else
# error Unsupported quantum depth.
#endif
#define MagickVersion MagickPackageName " " MagickLibVersionText " " \
MagickReleaseDate " " MagickQuantumDepth " " MagickWebSite
#define MagickWebSite "http://www." MagickPackageName ".org/"
/*
Method declarations.
*/
extern MagickExport const char
*GetMagickCopyright(void) MAGICK_FUNC_CONST,
*GetMagickVersion(unsigned long *) MAGICK_FUNC_CONST,
*GetMagickWebSite(void) MAGICK_FUNC_CONST;
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif
|