1#if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
2#error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
3#endif
4
5#ifndef GDK_PIXBUF_FEATURES_H
6#define GDK_PIXBUF_FEATURES_H 1
7
8#include <glib.h>
9
10/**
11 * SECTION:initialization_versions
12 * @Short_description: Library version numbers.
13 * @Title: Initialization and Versions
14 *
15 * These macros and variables let you check the version of gdk-pixbuf
16 * you're linking against.
17 */
18
19/**
20 * GDK_PIXBUF_MAJOR:
21 *
22 * Major version of gdk-pixbuf library, that is the "0" in
23 * "0.8.2" for example.
24 */
25/**
26 * GDK_PIXBUF_MINOR:
27 *
28 * Minor version of gdk-pixbuf library, that is the "8" in
29 * "0.8.2" for example.
30 */
31/**
32 * GDK_PIXBUF_MICRO:
33 *
34 * Micro version of gdk-pixbuf library, that is the "2" in
35 * "0.8.2" for example.
36 */
37/**
38 * GDK_PIXBUF_VERSION:
39 *
40 * Contains the full version of the gdk-pixbuf header as a string.
41 * This is the version being compiled against; contrast with
42 * #gdk_pixbuf_version.
43 */
44
45#define GDK_PIXBUF_MAJOR (2)
46#define GDK_PIXBUF_MINOR (40)
47#define GDK_PIXBUF_MICRO (0)
48#define GDK_PIXBUF_VERSION "2.40.0"
49
50#ifndef _GDK_PIXBUF_EXTERN
51#define _GDK_PIXBUF_EXTERN extern
52#endif
53
54/* We prefix variable declarations so they can
55 * properly get exported/imported from Windows DLLs.
56 */
57#ifdef G_PLATFORM_WIN32
58# ifdef GDK_PIXBUF_STATIC_COMPILATION
59# define GDK_PIXBUF_VAR extern
60# else /* !GDK_PIXBUF_STATIC_COMPILATION */
61# ifdef GDK_PIXBUF_C_COMPILATION
62# ifdef DLL_EXPORT
63# define GDK_PIXBUF_VAR _GDK_PIXBUF_EXTERN
64# else /* !DLL_EXPORT */
65# define GDK_PIXBUF_VAR extern
66# endif /* !DLL_EXPORT */
67# else /* !GDK_PIXBUF_C_COMPILATION */
68# define GDK_PIXBUF_VAR extern __declspec(dllimport)
69# endif /* !GDK_PIXBUF_C_COMPILATION */
70# endif /* !GDK_PIXBUF_STATIC_COMPILATION */
71#else /* !G_PLATFORM_WIN32 */
72# define GDK_PIXBUF_VAR _GDK_PIXBUF_EXTERN
73#endif /* !G_PLATFORM_WIN32 */
74
75/**
76 * gdk_pixbuf_major_version:
77 *
78 * The major version number of the gdk-pixbuf library. (e.g. in
79 * gdk-pixbuf version 1.2.5 this is 1.)
80 *
81 *
82 * This variable is in the library, so represents the
83 * gdk-pixbuf library you have linked against. Contrast with the
84 * #GDK_PIXBUF_MAJOR macro, which represents the major version of the
85 * gdk-pixbuf headers you have included.
86 */
87/**
88 * gdk_pixbuf_minor_version:
89 *
90 * The minor version number of the gdk-pixbuf library. (e.g. in
91 * gdk-pixbuf version 1.2.5 this is 2.)
92 *
93 *
94 * This variable is in the library, so represents the
95 * gdk-pixbuf library you have linked against. Contrast with the
96 * #GDK_PIXBUF_MINOR macro, which represents the minor version of the
97 * gdk-pixbuf headers you have included.
98 */
99/**
100 * gdk_pixbuf_micro_version:
101 *
102 * The micro version number of the gdk-pixbuf library. (e.g. in
103 * gdk-pixbuf version 1.2.5 this is 5.)
104 *
105 *
106 * This variable is in the library, so represents the
107 * gdk-pixbuf library you have linked against. Contrast with the
108 * #GDK_PIXBUF_MICRO macro, which represents the micro version of the
109 * gdk-pixbuf headers you have included.
110 */
111/**
112 * gdk_pixbuf_version:
113 *
114 * Contains the full version of the gdk-pixbuf library as a string.
115 * This is the version currently in use by a running program.
116 */
117
118GDK_PIXBUF_VAR const guint gdk_pixbuf_major_version;
119GDK_PIXBUF_VAR const guint gdk_pixbuf_minor_version;
120GDK_PIXBUF_VAR const guint gdk_pixbuf_micro_version;
121GDK_PIXBUF_VAR const char *gdk_pixbuf_version;
122
123#endif /* GDK_PIXBUF_FEATURES_H */
124