Coverage Report

Created: 2026-05-24 07:45

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/graphicsmagick/magick/version.c
Line
Count
Source
1
/*
2
% Copyright (C) 2003 GraphicsMagick Group
3
% Copyright (C) 2002 ImageMagick Studio
4
%
5
% This program is covered by multiple licenses, which are described in
6
% Copyright.txt. You should have received a copy of Copyright.txt with this
7
% package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
8
%
9
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10
%                                                                             %
11
%                                                                             %
12
%                                                                             %
13
%               V   V  EEEEE  RRRR   SSSSS  IIIII   OOO   N   N               %
14
%               V   V  E      R   R  SS       I    O   O  NN  N               %
15
%               V   V  EEE    RRRR    SSS     I    O   O  N N N               %
16
%                V V   E      R R       SS    I    O   O  N  NN               %
17
%                 V    EEEEE  R  R   SSSSS  IIIII   OOO   N   N               %
18
%                                                                             %
19
%                                                                             %
20
%                        GraphicsMagick Version Methods                       %
21
%                                                                             %
22
%                                                                             %
23
%                              Software Design                                %
24
%                                John Cristy                                  %
25
%                               September 2002                                %
26
%                                                                             %
27
%                                                                             %
28
%                                                                             %
29
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30
%
31
%
32
*/
33

34
#include "magick/studio.h"
35
#include "magick/version.h"
36

37
/*
38
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
39
%                                                                             %
40
%                                                                             %
41
%                                                                             %
42
%   G e t M a g i c k C o p y r i g h t                                       %
43
%                                                                             %
44
%                                                                             %
45
%                                                                             %
46
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
47
%
48
%  GetMagickCopyright() returns the GraphicsMagick API copyright as a string.
49
%
50
%  The format of the GetMagickCopyright method is:
51
%
52
%      const char *GetMagickCopyright(void)
53
%
54
%
55
*/
56
MagickExport const char *GetMagickCopyright(void)
57
0
{
58
0
  return(MagickCopyright);
59
0
}
60

61
/*
62
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
63
%                                                                             %
64
%                                                                             %
65
%                                                                             %
66
%   G e t M a g i c k V e r s i o n                                           %
67
%                                                                             %
68
%                                                                             %
69
%                                                                             %
70
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
71
%
72
%  GetMagickVersion() returns the GraphicsMagick API version as a string and
73
%  as a number.
74
%
75
%  The format of the GetMagickVersion method is:
76
%
77
%      const char *GetMagickVersion(unsigned long *version)
78
%
79
%  A description of each parameter follows:
80
%
81
%    o version: The GraphicsMagick version is returned as a number.
82
%
83
*/
84
MagickExport const char *GetMagickVersion(unsigned long *version)
85
39.1k
{
86
39.1k
  if (version != (unsigned long *) NULL)
87
0
    *version=MagickLibVersion;
88
39.1k
  return(MagickVersion);
89
39.1k
}
90

91
/*
92
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
93
%                                                                             %
94
%                                                                             %
95
%                                                                             %
96
%   G e t M a g i c k W e b S i t e                                           %
97
%                                                                             %
98
%                                                                             %
99
%                                                                             %
100
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
101
%
102
%  GetMagickWebSite() returns the GraphicsMagick web site URL as a string.
103
%
104
%  The format of the GetMagickWebSite method is:
105
%
106
%      const char *GetMagickWebSite(void)
107
%
108
%
109
*/
110
MagickExport const char *GetMagickWebSite(void)
111
0
{
112
0
  return(MagickWebSite);
113
0
}