1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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">
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">
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>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gdk-pixbuf-Versioning.synopsis" class="shortcut">Top</a>
26 <a href="#gdk-pixbuf-Versioning.description" class="shortcut">Description</a>
29 <div class="refentry">
30 <a name="gdk-pixbuf-Versioning"></a><div class="titlepage"></div>
31 <div class="refnamediv"><table width="100%"><tr>
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>
36 <td valign="top" align="right"></td>
38 <div class="refsynopsisdiv">
39 <a name="gdk-pixbuf-Versioning.synopsis"></a><h2>Synopsis</h2>
40 <pre class="synopsis">
41 #include <gdk-pixbuf/gdk-pixbuf.h>
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>
53 <div class="refsect1">
54 <a name="gdk-pixbuf-Versioning.description"></a><h2>Description</h2>
56 These macros and variables let you check the version of &gdk-pixbuf;
57 you're linking against.
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;
67 Contains the full version of the &gdk-pixbuf; library as a string.
68 This is the version currently in use by a running program.
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;
77 The major version number of the &gdk-pixbuf; library. (e.g. in
78 &gdk-pixbuf; version 1.2.5 this is 1.)
81 This variable is in the library, so represents the
82 &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 &gdk-pixbuf; headers you have included.
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;
93 The minor version number of the &gdk-pixbuf; library. (e.g. in
94 &gdk-pixbuf; version 1.2.5 this is 2.)
97 This variable is in the library, so represents the
98 &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 &gdk-pixbuf; headers you have included.
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;
109 The micro version number of the &gdk-pixbuf; library. (e.g. in
110 &gdk-pixbuf; version 1.2.5 this is 5.)
113 This variable is in the library, so represents the
114 &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 &gdk-pixbuf; headers you have included.
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"
125 Contains the full version of the &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>.
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)
136 Major version of &gdk-pixbuf; library, that is the first "0" in
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)
146 Minor version of &gdk-pixbuf; library, that is the "8" in
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)
156 Micro version of &gdk-pixbuf; library, that is the last "0" in
164 Generated by GTK-Doc V1.18</div>