summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd/libgd-2.1.1/src/gd_version.c
blob: 222d428ce7b35753a35743730b04438b945d8edf (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
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */

#include "gd.h"


/* These functions return the version information.  We use functions
 * so that changes in the shared library will automatically be
 * reflected in executables using it without recompiling them. */

BGD_DECLARE(int) gdMajorVersion()
{
    return GD_MAJOR_VERSION;
}

BGD_DECLARE(int) gdMinorVersion()
{
    return GD_MINOR_VERSION;
}

BGD_DECLARE(int) gdReleaseVersion()
{
    return GD_RELEASE_VERSION;
}

BGD_DECLARE(const char *) gdExtraVersion() {
    return GD_EXTRA_VERSION;
}

BGD_DECLARE(const char *) gdVersionString() {
    return GD_VERSION_STRING;
}