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

source code of gtk/build/subprojects/gdk-pixbuf/gdk-pixbuf/gdk-pixbuf-features.h