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