"Initial commit to Gerrit"
[profile/ivi/gdk-pixbuf.git] / docs / reference / gdk-pixbuf / html / gdk-pixbuf-Versioning.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>Initialization and Versions</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
8 <link rel="up" href="rn01.html" title="API Reference">
9 <link rel="prev" href="rn01.html" title="API Reference">
10 <link rel="next" href="gdk-pixbuf-The-GdkPixbuf-Structure.html" title="The GdkPixbuf Structure">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16 <tr valign="middle">
17 <td><a accesskey="p" href="rn01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GDK-PixBuf Reference Manual</th>
21 <td><a accesskey="n" href="gdk-pixbuf-The-GdkPixbuf-Structure.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22 </tr>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gdk-pixbuf-Versioning.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#gdk-pixbuf-Versioning.description" class="shortcut">Description</a>
27 </td></tr>
28 </table>
29 <div class="refentry">
30 <a name="gdk-pixbuf-Versioning"></a><div class="titlepage"></div>
31 <div class="refnamediv"><table width="100%"><tr>
32 <td valign="top">
33 <h2><span class="refentrytitle"><a name="gdk-pixbuf-Versioning.top_of_page"></a>Initialization and Versions</span></h2>
34 <p>Initialization and Versions — Library version numbers.</p>
35 </td>
36 <td valign="top" align="right"></td>
37 </tr></table></div>
38 <div class="refsynopsisdiv">
39 <a name="gdk-pixbuf-Versioning.synopsis"></a><h2>Synopsis</h2>
40 <pre class="synopsis">
41 #include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;
42
43 extern const char * <a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-version" title="gdk_pixbuf_version">gdk_pixbuf_version</a>;
44 extern const guint  <a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-major-version" title="gdk_pixbuf_major_version">gdk_pixbuf_major_version</a>;
45 extern const guint  <a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-minor-version" title="gdk_pixbuf_minor_version">gdk_pixbuf_minor_version</a>;
46 extern const guint  <a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-micro-version" title="gdk_pixbuf_micro_version">gdk_pixbuf_micro_version</a>;
47 #define             <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-VERSION:CAPS" title="GDK_PIXBUF_VERSION">GDK_PIXBUF_VERSION</a>
48 #define             <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MAJOR:CAPS" title="GDK_PIXBUF_MAJOR">GDK_PIXBUF_MAJOR</a>
49 #define             <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MINOR:CAPS" title="GDK_PIXBUF_MINOR">GDK_PIXBUF_MINOR</a>
50 #define             <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MICRO:CAPS" title="GDK_PIXBUF_MICRO">GDK_PIXBUF_MICRO</a>
51 </pre>
52 </div>
53 <div class="refsect1">
54 <a name="gdk-pixbuf-Versioning.description"></a><h2>Description</h2>
55 <p>
56 These macros and variables let you check the version of &amp;gdk-pixbuf;
57 you're linking against.
58 </p>
59 </div>
60 <div class="refsect1">
61 <a name="gdk-pixbuf-Versioning.details"></a><h2>Details</h2>
62 <div class="refsect2">
63 <a name="gdk-pixbuf-version"></a><h3>gdk_pixbuf_version</h3>
64 <pre class="programlisting">extern const char *gdk_pixbuf_version;
65 </pre>
66 <p>
67 Contains the full version of the &amp;gdk-pixbuf; library as a string.
68 This is the version currently in use by a running program.
69 </p>
70 </div>
71 <hr>
72 <div class="refsect2">
73 <a name="gdk-pixbuf-major-version"></a><h3>gdk_pixbuf_major_version</h3>
74 <pre class="programlisting">extern const guint gdk_pixbuf_major_version;
75 </pre>
76 <p>
77 The major version number of the &amp;gdk-pixbuf; library.  (e.g. in 
78 &amp;gdk-pixbuf; version 1.2.5 this is 1.) 
79 </p>
80 <p>
81 This variable is in the library, so represents the
82 &amp;gdk-pixbuf; library you have linked against. Contrast with the
83 <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MAJOR:CAPS" title="GDK_PIXBUF_MAJOR"><span class="type">GDK_PIXBUF_MAJOR</span></a> macro, which represents the major version of the
84 &amp;gdk-pixbuf; headers you have included.
85 </p>
86 </div>
87 <hr>
88 <div class="refsect2">
89 <a name="gdk-pixbuf-minor-version"></a><h3>gdk_pixbuf_minor_version</h3>
90 <pre class="programlisting">extern const guint gdk_pixbuf_minor_version;
91 </pre>
92 <p>
93 The minor version number of the &amp;gdk-pixbuf; library.  (e.g. in 
94 &amp;gdk-pixbuf; version 1.2.5 this is 2.) 
95 </p>
96 <p>
97 This variable is in the library, so represents the
98 &amp;gdk-pixbuf; library you have linked against. Contrast with the
99 <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MINOR:CAPS" title="GDK_PIXBUF_MINOR"><span class="type">GDK_PIXBUF_MINOR</span></a> macro, which represents the minor version of the
100 &amp;gdk-pixbuf; headers you have included.
101 </p>
102 </div>
103 <hr>
104 <div class="refsect2">
105 <a name="gdk-pixbuf-micro-version"></a><h3>gdk_pixbuf_micro_version</h3>
106 <pre class="programlisting">extern const guint gdk_pixbuf_micro_version;
107 </pre>
108 <p>
109 The micro version number of the &amp;gdk-pixbuf; library.  (e.g. in 
110 &amp;gdk-pixbuf; version 1.2.5 this is 5.) 
111 </p>
112 <p>
113 This variable is in the library, so represents the
114 &amp;gdk-pixbuf; library you have linked against. Contrast with the
115 <a class="link" href="gdk-pixbuf-Versioning.html#GDK-PIXBUF-MICRO:CAPS" title="GDK_PIXBUF_MICRO"><span class="type">GDK_PIXBUF_MICRO</span></a> macro, which represents the micro version of the
116 &amp;gdk-pixbuf; headers you have included.
117 </p>
118 </div>
119 <hr>
120 <div class="refsect2">
121 <a name="GDK-PIXBUF-VERSION:CAPS"></a><h3>GDK_PIXBUF_VERSION</h3>
122 <pre class="programlisting">#define GDK_PIXBUF_VERSION "2.26.1"
123 </pre>
124 <p>
125 Contains the full version of the &amp;gdk-pixbuf; header as a string.
126 This is the version being compiled against; contrast with
127 <a class="link" href="gdk-pixbuf-Versioning.html#gdk-pixbuf-version" title="gdk_pixbuf_version"><span class="type">gdk_pixbuf_version</span></a>.
128 </p>
129 </div>
130 <hr>
131 <div class="refsect2">
132 <a name="GDK-PIXBUF-MAJOR:CAPS"></a><h3>GDK_PIXBUF_MAJOR</h3>
133 <pre class="programlisting">#define GDK_PIXBUF_MAJOR (2)
134 </pre>
135 <p>
136 Major version of &amp;gdk-pixbuf; library, that is the first "0" in
137 "0.8.0" for example.
138 </p>
139 </div>
140 <hr>
141 <div class="refsect2">
142 <a name="GDK-PIXBUF-MINOR:CAPS"></a><h3>GDK_PIXBUF_MINOR</h3>
143 <pre class="programlisting">#define GDK_PIXBUF_MINOR (26)
144 </pre>
145 <p>
146 Minor version of &amp;gdk-pixbuf; library, that is the "8" in
147 "0.8.0" for example.
148 </p>
149 </div>
150 <hr>
151 <div class="refsect2">
152 <a name="GDK-PIXBUF-MICRO:CAPS"></a><h3>GDK_PIXBUF_MICRO</h3>
153 <pre class="programlisting">#define GDK_PIXBUF_MICRO (1)
154 </pre>
155 <p>
156 Micro version of &amp;gdk-pixbuf; library, that is the last "0" in
157 "0.8.0" for example.
158 </p>
159 </div>
160 </div>
161 </div>
162 <div class="footer">
163 <hr>
164           Generated by GTK-Doc V1.18</div>
165 </body>
166 </html>