MagickCache 1.0.0
MagickCache: an Efficient Image Cache
Loading...
Searching...
No Matches
version.c
1/*
2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3% %
4% %
5% %
6% V V EEEEE RRRR SSSSS IIIII OOO N N %
7% V V E R R SS I O O NN N %
8% V V EEE RRRR SSS I O O N N N %
9% V V E R R SS I O O N NN %
10% V EEEEE R R SSSSS IIIII OOO N N %
11% %
12% %
13% Magick Cache Version Methods %
14% %
15% Software Design %
16% Cristy %
17% March 2022 %
18% %
19% %
20% Copyright 1999 ImageMagick Studio LLC, a non-profit organization %
21% dedicated to making software imaging solutions freely available. %
22% %
23% You may not use this file except in compliance with the License. You may %
24% obtain a copy of the License at %
25% %
26% https://imagemagick.org/script/license.php %
27% %
28% Unless required by applicable law or agreed to in writing, software %
29% distributed under the License is distributed on an "AS IS" BASIS, %
30% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. %
31% See the License for the specific language governing permissions and %
32% limitations under the License. %
33% %
34%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
35%
36%
37*/
38
39/*
40 Include declarations.
41*/
42#include <MagickCore/MagickCore.h>
43#include "MagickCache/MagickCache.h"
44
45/*
46%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
47% %
48% %
49% %
50% G e t M a g i c k C a c h e C o p y r i g h t %
51% %
52% %
53% %
54%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
55%
56% GetMagickCacheCopyright() returns the MagickCache API copyright as a string.
57%
58% The format of the GetMagickCacheCopyright method is:
59%
60% const char *GetMagickCacheCopyright(void)
61%
62*/
63MagickExport const char *GetMagickCacheCopyright(void)
64{
65 return(MagickCacheCopyright);
66}
67
68/*
69%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
70% %
71% %
72% %
73% G e t M a g i c k C a c h e V e r s i o n %
74% %
75% %
76% %
77%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
78%
79% GetMagickCacheVersion() returns the MagickCache API version as a string and
80% as a number.
81%
82% The format of the GetMagickCacheVersion method is:
83%
84% const char *GetMagickCacheVersion(size_t *version)
85%
86% A description of each parameter follows:
87%
88% o version: The MagickCache version is returned as a number.
89%
90*/
91MagickExport const char *GetMagickCacheVersion(size_t *version)
92{
93 if (version != (size_t *) NULL)
94 *version=MagickCacheLibVersion;
95 return(MagickCacheVersion);
96}