4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>Initialization and Versions</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
7
<link rel="start" href="index.html" title="The gdk-pixbuf Library">
8
8
<link rel="up" href="rn01.html" title="API Reference">
9
9
<link rel="prev" href="rn01.html" title="API Reference">
10
10
<link rel="next" href="gdk-pixbuf-gdk-pixbuf.html" title="The GdkPixbuf Structure">
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="reference" href="rn01.html" title="API Reference">
14
14
<link rel="reference" href="rn02.html" title="Tools Reference">
30
30
<th width="100%" align="center">The <span class="application">gdk-pixbuf</span> Library</th>
31
31
<td><a accesskey="n" href="gdk-pixbuf-gdk-pixbuf.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2943460" class="shortcut">Top</a>
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2822179" class="shortcut">Top</a>
35
<a href="#id2943548" class="shortcut">Description</a></nobr></td></tr>
35
<a href="#id2822268" class="shortcut">Description</a></nobr></td></tr>
37
37
<div class="refentry" lang="en">
38
38
<a name="gdk-pixbuf-Versioning"></a><div class="titlepage"></div>
39
39
<div class="refnamediv"><table width="100%"><tr>
42
<a name="id2943460"></a><span class="refentrytitle">Initialization and Versions</span>
42
<a name="id2822179"></a><span class="refentrytitle">Initialization and Versions</span>
44
44
<p>Initialization and Versions —
45
45
Library version numbers.</p>
57
extern const char *<a href="gdk-pixbuf-Versioning.html#gdk-pixbuf-version">gdk_pixbuf_version</a>;
58
extern const guint <a href="gdk-pixbuf-Versioning.html#gdk-pixbuf-major-version">gdk_pixbuf_major_version</a>;
59
extern const guint <a href="gdk-pixbuf-Versioning.html#gdk-pixbuf-minor-version">gdk_pixbuf_minor_version</a>;
60
extern const guint <a href="gdk-pixbuf-Versioning.html#gdk-pixbuf-micro-version">gdk_pixbuf_micro_version</a>;
61
#define <a href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-VERSION:CAPS">GDK_PIXBUF_VERSION</a>
62
#define <a href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MAJOR:CAPS">GDK_PIXBUF_MAJOR</a>
63
#define <a href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MINOR:CAPS">GDK_PIXBUF_MINOR</a>
64
#define <a href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MICRO:CAPS">GDK_PIXBUF_MICRO</a>
57
extern const char *<a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-version">gdk_pixbuf_version</a>;
58
extern const guint <a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-major-version">gdk_pixbuf_major_version</a>;
59
extern const guint <a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-minor-version">gdk_pixbuf_minor_version</a>;
60
extern const guint <a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-micro-version">gdk_pixbuf_micro_version</a>;
61
#define <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-VERSION:CAPS">GDK_PIXBUF_VERSION</a>
62
#define <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MAJOR:CAPS">GDK_PIXBUF_MAJOR</a>
63
#define <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MINOR:CAPS">GDK_PIXBUF_MINOR</a>
64
#define <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MICRO:CAPS">GDK_PIXBUF_MICRO</a>
68
68
<div class="refsect1" lang="en">
69
<a name="id2943548"></a><h2>Description</h2>
69
<a name="id2822268"></a><h2>Description</h2>
71
71
These macros and variables let you check the version of <span class="application">gdk-pixbuf</span>
72
72
you're linking against.
75
75
<div class="refsect1" lang="en">
76
<a name="id2943569"></a><h2>Details</h2>
76
<a name="id2822289"></a><h2>Details</h2>
77
77
<div class="refsect2" lang="en">
78
<a name="id2943580"></a><h3>
78
<a name="id2822299"></a><h3>
79
79
<a name="gdk-pixbuf-version"></a>gdk_pixbuf_version</h3>
80
<a class="indexterm" name="id2987449"></a><pre class="programlisting">extern const char *gdk_pixbuf_version;
80
<a class="indexterm" name="id2866493"></a><pre class="programlisting">extern const char *gdk_pixbuf_version;
83
83
Contains the full version of the <span class="application">gdk-pixbuf</span> library as a string.
88
88
<div class="refsect2" lang="en">
89
<a name="id2987473"></a><h3>
89
<a name="id2866516"></a><h3>
90
90
<a name="gdk-pixbuf-major-version"></a>gdk_pixbuf_major_version</h3>
91
<a class="indexterm" name="id2987485"></a><pre class="programlisting">extern const guint gdk_pixbuf_major_version;
91
<a class="indexterm" name="id2866529"></a><pre class="programlisting">extern const guint gdk_pixbuf_major_version;
94
94
The major version number of the <span class="application">gdk-pixbuf</span> library. (e.g. in
98
98
This variable is in the library, so represents the
99
99
<span class="application">gdk-pixbuf</span> library you have linked against. Contrast with the
100
<a href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MAJOR:CAPS"><span class="type">GDK_PIXBUF_MAJOR</span></a> macro, which represents the major version of the
100
<a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MAJOR:CAPS"><span class="type">GDK_PIXBUF_MAJOR</span></a> macro, which represents the major version of the
101
101
<span class="application">gdk-pixbuf</span> headers you have included.
105
105
<div class="refsect2" lang="en">
106
<a name="id2987542"></a><h3>
106
<a name="id2866586"></a><h3>
107
107
<a name="gdk-pixbuf-minor-version"></a>gdk_pixbuf_minor_version</h3>
108
<a class="indexterm" name="id2987554"></a><pre class="programlisting">extern const guint gdk_pixbuf_minor_version;
108
<a class="indexterm" name="id2866598"></a><pre class="programlisting">extern const guint gdk_pixbuf_minor_version;
111
111
The minor version number of the <span class="application">gdk-pixbuf</span> library. (e.g. in
115
115
This variable is in the library, so represents the
116
116
<span class="application">gdk-pixbuf</span> library you have linked against. Contrast with the
117
<a href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MINOR:CAPS"><span class="type">GDK_PIXBUF_MINOR</span></a> macro, which represents the minor version of the
117
<a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MINOR:CAPS"><span class="type">GDK_PIXBUF_MINOR</span></a> macro, which represents the minor version of the
118
118
<span class="application">gdk-pixbuf</span> headers you have included.
122
122
<div class="refsect2" lang="en">
123
<a name="id2987610"></a><h3>
123
<a name="id2866654"></a><h3>
124
124
<a name="gdk-pixbuf-micro-version"></a>gdk_pixbuf_micro_version</h3>
125
<a class="indexterm" name="id2987623"></a><pre class="programlisting">extern const guint gdk_pixbuf_micro_version;
125
<a class="indexterm" name="id2866667"></a><pre class="programlisting">extern const guint gdk_pixbuf_micro_version;
128
128
The micro version number of the <span class="application">gdk-pixbuf</span> library. (e.g. in
132
132
This variable is in the library, so represents the
133
133
<span class="application">gdk-pixbuf</span> library you have linked against. Contrast with the
134
<a href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MICRO:CAPS"><span class="type">GDK_PIXBUF_MICRO</span></a> macro, which represents the micro version of the
134
<a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MICRO:CAPS"><span class="type">GDK_PIXBUF_MICRO</span></a> macro, which represents the micro version of the
135
135
<span class="application">gdk-pixbuf</span> headers you have included.
139
139
<div class="refsect2" lang="en">
140
<a name="id2987679"></a><h3>
140
<a name="id2866723"></a><h3>
141
141
<a name="GDK-PIXBUF-VERSION:CAPS"></a>GDK_PIXBUF_VERSION</h3>
142
<a class="indexterm" name="id2987692"></a><pre class="programlisting">#define GDK_PIXBUF_VERSION "2.11.6"
142
<a class="indexterm" name="id2866736"></a><pre class="programlisting">#define GDK_PIXBUF_VERSION "2.12.0"
145
145
Contains the full version of the <span class="application">gdk-pixbuf</span> header as a string.
146
146
This is the version being compiled against; contrast with
147
<a href="gdk-pixbuf-Versioning.html#gdk-pixbuf-version"><span class="type">gdk_pixbuf_version</span></a>.
147
<a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-version"><span class="type">gdk_pixbuf_version</span></a>.
151
151
<div class="refsect2" lang="en">
152
<a name="id2987723"></a><h3>
152
<a name="id2866767"></a><h3>
153
153
<a name="GDK-PIXBUF-MAJOR:CAPS"></a>GDK_PIXBUF_MAJOR</h3>
154
<a class="indexterm" name="id2987736"></a><pre class="programlisting">#define GDK_PIXBUF_MAJOR (2)
154
<a class="indexterm" name="id2866780"></a><pre class="programlisting">#define GDK_PIXBUF_MAJOR (2)
157
157
Major version of <span class="application">gdk-pixbuf</span> library, that is the first "0" in
162
162
<div class="refsect2" lang="en">
163
<a name="id2987758"></a><h3>
163
<a name="id2866802"></a><h3>
164
164
<a name="GDK-PIXBUF-MINOR:CAPS"></a>GDK_PIXBUF_MINOR</h3>
165
<a class="indexterm" name="id2987771"></a><pre class="programlisting">#define GDK_PIXBUF_MINOR (11)
165
<a class="indexterm" name="id2866815"></a><pre class="programlisting">#define GDK_PIXBUF_MINOR (12)
168
168
Minor version of <span class="application">gdk-pixbuf</span> library, that is the "8" in
173
173
<div class="refsect2" lang="en">
174
<a name="id2987794"></a><h3>
174
<a name="id2866837"></a><h3>
175
175
<a name="GDK-PIXBUF-MICRO:CAPS"></a>GDK_PIXBUF_MICRO</h3>
176
<a class="indexterm" name="id2987806"></a><pre class="programlisting">#define GDK_PIXBUF_MICRO (6)
176
<a class="indexterm" name="id2866850"></a><pre class="programlisting">#define GDK_PIXBUF_MICRO (0)
179
179
Micro version of <span class="application">gdk-pixbuf</span> library, that is the last "0" in