~ubuntu-branches/ubuntu/raring/glib2.0/raring-proposed

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Version-Information.html

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-03-22 15:34:02 UTC
  • mfrom: (172.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20130322153402-sairsye8us9zxmew
Tags: 2.35.9-2ubuntu1
* Resynchronise with Debian experimental, remaining change:
  - Make python BD :all to facilitate cross building

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Version Information</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7
7
<link rel="home" href="index.html" title="GLib Reference Manual">
8
8
<link rel="up" href="glib-fundamentals.html" title="GLib Fundamentals">
9
9
<link rel="prev" href="glib-fundamentals.html" title="GLib Fundamentals">
10
10
<link rel="next" href="glib-Basic-Types.html" title="Basic Types">
11
 
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
143
143
version <em class="parameter"><code>required_major.required_minor</code></em>.<em class="parameter"><code>required_micro</code></em>
144
144
(same major version.)
145
145
</p>
146
 
<div class="variablelist"><table border="0">
 
146
<div class="variablelist"><table border="0" class="variablelist">
 
147
<colgroup>
147
148
<col align="left" valign="top">
 
149
<col>
 
150
</colgroup>
148
151
<tbody>
149
152
<tr>
150
153
<td><p><span class="term"><em class="parameter"><code>required_major</code></em> :</span></p></td>
201
204
<hr>
202
205
<div class="refsect2">
203
206
<a name="GLIB-MICRO-VERSION:CAPS"></a><h3>GLIB_MICRO_VERSION</h3>
204
 
<pre class="programlisting">#define GLIB_MICRO_VERSION 8
 
207
<pre class="programlisting">#define GLIB_MICRO_VERSION 9
205
208
</pre>
206
209
<p>
207
210
The micro version number of the GLib library.
223
226
<p>
224
227
</p>
225
228
<div class="example">
226
 
<a name="idp9944864"></a><p class="title"><b>Example 1. Checking the version of the GLib library</b></p>
227
 
<div class="example-contents"><pre class="programlisting">
228
 
  if (!GLIB_CHECK_VERSION (1, 2, 0))
229
 
    g_error ("GLib version 1.2.0 or above is needed");
230
 
</pre></div>
 
229
<a name="id-1.3.2.5.11.5.1"></a><p class="title"><b>Example 1. Checking the version of the GLib library</b></p>
 
230
<div class="example-contents">
 
231
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
 
232
    <tbody>
 
233
      <tr>
 
234
        <td class="listing_lines" align="right"><pre>1
 
235
2</pre></td>
 
236
        <td class="listing_code"><pre class="programlisting"><span class="keyword">if</span> (!<span class="preproc">GLIB_CHECK_VERSION</span> (<span class="number">1</span>, <span class="number">2</span>, <span class="number">0</span>))
 
237
    <span class="preproc">g_error</span> (<span class="number">&quot;GLib version 1.2.0 or above is needed&quot;</span>);</pre></td>
 
238
      </tr>
 
239
    </tbody>
 
240
  </table>
 
241
</div>
 
242
 
231
243
</div>
232
244
<p><br class="example-break">
233
245
</p>
234
246
<p>
235
247
See <a class="link" href="glib-Version-Information.html#glib-check-version" title="glib_check_version ()"><code class="function">glib_check_version()</code></a> for a runtime check.
236
248
</p>
237
 
<div class="variablelist"><table border="0">
 
249
<div class="variablelist"><table border="0" class="variablelist">
 
250
<colgroup>
238
251
<col align="left" valign="top">
 
252
<col>
 
253
</colgroup>
239
254
<tbody>
240
255
<tr>
241
256
<td><p><span class="term"><em class="parameter"><code>major</code></em> :</span></p></td>
389
404
</div>
390
405
<div class="footer">
391
406
<hr>
392
 
          Generated by GTK-Doc V1.18</div>
 
407
          Generated by GTK-Doc V1.18.1</div>
393
408
</body>
394
409
</html>
 
 
b'\\ No newline at end of file'