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