/usr/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html is in libjson-glib-doc 1.1.2-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Versioning information: JSON-GLib Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
<link rel="up" href="json-advanced.html" title="Part IV. JSON-GLib Advanced API">
<link rel="prev" href="json-glib-JSON-GVariant-Integration.html" title="JSON GVariant Integration">
<link rel="next" href="json-tools.html" title="Part V. JSON-GLib Additional Reference">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#json-glib-Versioning-information.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="json-advanced.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="json-glib-JSON-GVariant-Integration.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="json-tools.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="json-glib-Versioning-information"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="json-glib-Versioning-information.top_of_page"></a>Versioning information</span></h2>
<p>Versioning information — JSON-GLib version checking</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="json-glib-Versioning-information.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="json-glib-Versioning-information.html#JSON-MAJOR-VERSION:CAPS" title="JSON_MAJOR_VERSION">JSON_MAJOR_VERSION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="json-glib-Versioning-information.html#JSON-MINOR-VERSION:CAPS" title="JSON_MINOR_VERSION">JSON_MINOR_VERSION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="json-glib-Versioning-information.html#JSON-MICRO-VERSION:CAPS" title="JSON_MICRO_VERSION">JSON_MICRO_VERSION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="json-glib-Versioning-information.html#JSON-VERSION:CAPS" title="JSON_VERSION">JSON_VERSION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="json-glib-Versioning-information.html#JSON-CHECK-VERSION:CAPS" title="JSON_CHECK_VERSION()">JSON_CHECK_VERSION</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="json-glib-Versioning-information.html#JSON-VERSION-MIN-REQUIRED:CAPS" title="JSON_VERSION_MIN_REQUIRED">JSON_VERSION_MIN_REQUIRED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="json-glib-Versioning-information.html#JSON-VERSION-MAX-ALLOWED:CAPS" title="JSON_VERSION_MAX_ALLOWED">JSON_VERSION_MAX_ALLOWED</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="json-glib-Versioning-information.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="json-glib-Versioning-information.html#JSON-VERSION-S:CAPS" title="JSON_VERSION_S">JSON_VERSION_S</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="json-glib-Versioning-information.html#JSON-VERSION-HEX:CAPS" title="JSON_VERSION_HEX">JSON_VERSION_HEX</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="json-glib-Versioning-information.description"></a><h2>Description</h2>
<p>JSON-GLib provides macros to check the version of the library
at compile-time</p>
</div>
<div class="refsect1">
<a name="json-glib-Versioning-information.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="JSON-MAJOR-VERSION:CAPS"></a><h3>JSON_MAJOR_VERSION</h3>
<pre class="programlisting">#define JSON_MAJOR_VERSION (1)
</pre>
<p>Json major version component (e.g. 1 if <a class="link" href="json-glib-Versioning-information.html#JSON-VERSION:CAPS" title="JSON_VERSION"><code class="literal">JSON_VERSION</code></a> is 1.2.3)</p>
</div>
<hr>
<div class="refsect2">
<a name="JSON-MINOR-VERSION:CAPS"></a><h3>JSON_MINOR_VERSION</h3>
<pre class="programlisting">#define JSON_MINOR_VERSION (1)
</pre>
<p>Json minor version component (e.g. 2 if <a class="link" href="json-glib-Versioning-information.html#JSON-VERSION:CAPS" title="JSON_VERSION"><code class="literal">JSON_VERSION</code></a> is 1.2.3)</p>
</div>
<hr>
<div class="refsect2">
<a name="JSON-MICRO-VERSION:CAPS"></a><h3>JSON_MICRO_VERSION</h3>
<pre class="programlisting">#define JSON_MICRO_VERSION (2)
</pre>
<p>Json micro version component (e.g. 3 if <a class="link" href="json-glib-Versioning-information.html#JSON-VERSION:CAPS" title="JSON_VERSION"><code class="literal">JSON_VERSION</code></a> is 1.2.3)</p>
</div>
<hr>
<div class="refsect2">
<a name="JSON-VERSION:CAPS"></a><h3>JSON_VERSION</h3>
<pre class="programlisting">#define JSON_VERSION (1.1.2)
</pre>
<p>Json version.</p>
</div>
<hr>
<div class="refsect2">
<a name="JSON-CHECK-VERSION:CAPS"></a><h3>JSON_CHECK_VERSION()</h3>
<pre class="programlisting">#define JSON_CHECK_VERSION(major,minor,micro)</pre>
<p>Compile-time version checking. Evaluates to <code class="literal">TRUE</code> if the version
of Json is greater than the required one.</p>
<div class="refsect3">
<a name="id-1.5.6.6.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>major</p></td>
<td class="parameter_description"><p>required major version</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>minor</p></td>
<td class="parameter_description"><p>required minor version</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>micro</p></td>
<td class="parameter_description"><p>required micro version</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="JSON-VERSION-MIN-REQUIRED:CAPS"></a><h3>JSON_VERSION_MIN_REQUIRED</h3>
<pre class="programlisting"># define JSON_VERSION_MIN_REQUIRED (JSON_VERSION_CUR_STABLE)
</pre>
<p>A macro that should be defined by the user prior to including
the gdk.h header.
The definition should be one of the predefined JSON version
macros: <code class="literal">JSON_VERSION_1_0</code>, <code class="literal">JSON_VERSION_1_2</code>,...</p>
<p>This macro defines the lower bound for the JSON-GLib API to use.</p>
<p>If a function has been deprecated in a newer version of JSON-GLib,
it is possible to use this symbol to avoid the compiler warnings
without disabling warning for every deprecated function.</p>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.0">1.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="JSON-VERSION-MAX-ALLOWED:CAPS"></a><h3>JSON_VERSION_MAX_ALLOWED</h3>
<pre class="programlisting"># define JSON_VERSION_MAX_ALLOWED (JSON_VERSION_MIN_REQUIRED)
</pre>
<p>A macro that should be defined by the user prior to including
the json-glib.h header.</p>
<p>The definition should be one of the predefined JSON-GLib version
macros: <code class="literal">JSON_VERSION_1_0</code>, <code class="literal">JSON_VERSION_1_2</code>,...</p>
<p>This macro defines the upper bound for the JSON API-GLib to use.</p>
<p>If a function has been introduced in a newer version of JSON-GLib,
it is possible to use this symbol to get compiler warnings when
trying to use that function.</p>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.0">1.0</a></p>
</div>
</div>
<div class="refsect1">
<a name="json-glib-Versioning-information.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="JSON-VERSION-S:CAPS"></a><h3>JSON_VERSION_S</h3>
<pre class="programlisting">#define JSON_VERSION_S "1.1.2"
</pre>
<p>JSON-GLib version, encoded as a string, useful for printing and
concatenation.</p>
</div>
<hr>
<div class="refsect2">
<a name="JSON-VERSION-HEX:CAPS"></a><h3>JSON_VERSION_HEX</h3>
<pre class="programlisting">#define JSON_VERSION_HEX</pre>
<p>JSON-GLib version, encoded as an hexadecimal number, useful for
integer comparisons.</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>
|