Imported Upstream version 1.3.0
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-version.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>HarfBuzz Manual: hb-version</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="ch07.html" title="Harfbuzz API">
9 <link rel="prev" href="harfbuzz-Shaping.html" title="Shaping">
10 <link rel="next" href="harfbuzz-hb-deprecated.html" title="hb-deprecated">
11 <meta name="generator" content="GTK-Doc V1.20 (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="10"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18                   <a href="#harfbuzz-hb-version.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19                   <a href="#harfbuzz-hb-version.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20 </td>
21 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22 <td><a accesskey="u" href="ch07.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="harfbuzz-Shaping.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <td><a accesskey="n" href="harfbuzz-hb-deprecated.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25 </tr></table>
26 <div class="refentry">
27 <a name="harfbuzz-hb-version"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
29 <td valign="top">
30 <h2><span class="refentrytitle"><a name="harfbuzz-hb-version.top_of_page"></a>hb-version</span></h2>
31 <p>hb-version</p>
32 </td>
33 <td class="gallery_image" valign="top" align="right"></td>
34 </tr></table></div>
35 <div class="refsect1">
36 <a name="harfbuzz-hb-version.functions"></a><h2>Functions</h2>
37 <div class="informaltable"><table width="100%" border="0">
38 <colgroup>
39 <col width="150px" class="functions_return">
40 <col class="functions_name">
41 </colgroup>
42 <tbody>
43 <tr>
44 <td class="define_keyword">#define</td>
45 <td class="function_name">
46 <a class="link" href="harfbuzz-hb-version.html#HB-VERSION-ATLEAST:CAPS" title="HB_VERSION_ATLEAST()">HB_VERSION_ATLEAST</a><span class="c_punctuation">()</span>
47 </td>
48 </tr>
49 <tr>
50 <td class="function_type">
51 <span class="returnvalue">void</span>
52 </td>
53 <td class="function_name">
54 <a class="link" href="harfbuzz-hb-version.html#hb-version" title="hb_version ()">hb_version</a> <span class="c_punctuation">()</span>
55 </td>
56 </tr>
57 <tr>
58 <td class="function_type">
59 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
60 </td>
61 <td class="function_name">
62 <a class="link" href="harfbuzz-hb-version.html#hb-version-atleast" title="hb_version_atleast ()">hb_version_atleast</a> <span class="c_punctuation">()</span>
63 </td>
64 </tr>
65 <tr>
66 <td class="function_type">const <span class="returnvalue">char</span> *
67 </td>
68 <td class="function_name">
69 <a class="link" href="harfbuzz-hb-version.html#hb-version-string" title="hb_version_string ()">hb_version_string</a> <span class="c_punctuation">()</span>
70 </td>
71 </tr>
72 </tbody>
73 </table></div>
74 </div>
75 <div class="refsect1">
76 <a name="harfbuzz-hb-version.other"></a><h2>Types and Values</h2>
77 <div class="informaltable"><table width="100%" border="0">
78 <colgroup>
79 <col width="150px" class="name">
80 <col class="description">
81 </colgroup>
82 <tbody>
83 <tr>
84 <td class="define_keyword">#define</td>
85 <td class="function_name"><a class="link" href="harfbuzz-hb-version.html#HB-VERSION-MAJOR:CAPS" title="HB_VERSION_MAJOR">HB_VERSION_MAJOR</a></td>
86 </tr>
87 <tr>
88 <td class="define_keyword">#define</td>
89 <td class="function_name"><a class="link" href="harfbuzz-hb-version.html#HB-VERSION-MICRO:CAPS" title="HB_VERSION_MICRO">HB_VERSION_MICRO</a></td>
90 </tr>
91 <tr>
92 <td class="define_keyword">#define</td>
93 <td class="function_name"><a class="link" href="harfbuzz-hb-version.html#HB-VERSION-MINOR:CAPS" title="HB_VERSION_MINOR">HB_VERSION_MINOR</a></td>
94 </tr>
95 <tr>
96 <td class="define_keyword">#define</td>
97 <td class="function_name"><a class="link" href="harfbuzz-hb-version.html#HB-VERSION-STRING:CAPS" title="HB_VERSION_STRING">HB_VERSION_STRING</a></td>
98 </tr>
99 </tbody>
100 </table></div>
101 </div>
102 <div class="refsect1">
103 <a name="harfbuzz-hb-version.object-hierarchy"></a><h2>Object Hierarchy</h2>
104 <pre class="screen">
105 </pre>
106 </div>
107 <div class="refsect1">
108 <a name="harfbuzz-hb-version.description"></a><h2>Description</h2>
109 </div>
110 <div class="refsect1">
111 <a name="harfbuzz-hb-version.functions_details"></a><h2>Functions</h2>
112 <div class="refsect2">
113 <a name="HB-VERSION-ATLEAST:CAPS"></a><h3>HB_VERSION_ATLEAST()</h3>
114 <pre class="programlisting">#define             HB_VERSION_ATLEAST(major,minor,micro)</pre>
115 </div>
116 <hr>
117 <div class="refsect2">
118 <a name="hb-version"></a><h3>hb_version ()</h3>
119 <pre class="programlisting"><span class="returnvalue">void</span>
120 hb_version (<em class="parameter"><code>unsigned <span class="type">int</span> *major</code></em>,
121             <em class="parameter"><code>unsigned <span class="type">int</span> *minor</code></em>,
122             <em class="parameter"><code>unsigned <span class="type">int</span> *micro</code></em>);</pre>
123 <div class="refsect3">
124 <a name="id-1.3.3.10.7.3.4"></a><h4>Parameters</h4>
125 <div class="informaltable"><table width="100%" border="0">
126 <colgroup>
127 <col width="150px" class="parameters_name">
128 <col class="parameters_description">
129 <col width="200px" class="parameters_annotations">
130 </colgroup>
131 <tbody>
132 <tr>
133 <td class="parameter_name"><p>major</p></td>
134 <td class="parameter_description"><p> Library major version component. </p></td>
135 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
136 </tr>
137 <tr>
138 <td class="parameter_name"><p>minor</p></td>
139 <td class="parameter_description"><p> Library minor version component. </p></td>
140 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
141 </tr>
142 <tr>
143 <td class="parameter_name"><p>micro</p></td>
144 <td class="parameter_description"><p> Library micro version component. </p></td>
145 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
146 </tr>
147 </tbody>
148 </table></div>
149 </div>
150 <div class="refsect3">
151 <a name="id-1.3.3.10.7.3.5"></a><h4>Returns</h4>
152 <p>library version as three integer components.</p>
153 <p></p>
154 </div>
155 <p class="since">Since 0.9.2</p>
156 </div>
157 <hr>
158 <div class="refsect2">
159 <a name="hb-version-atleast"></a><h3>hb_version_atleast ()</h3>
160 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
161 hb_version_atleast (<em class="parameter"><code>unsigned <span class="type">int</span> major</code></em>,
162                     <em class="parameter"><code>unsigned <span class="type">int</span> minor</code></em>,
163                     <em class="parameter"><code>unsigned <span class="type">int</span> micro</code></em>);</pre>
164 <div class="refsect3">
165 <a name="id-1.3.3.10.7.4.4"></a><h4>Returns</h4>
166 <p></p>
167 </div>
168 <p class="since">Since 0.9.30</p>
169 </div>
170 <hr>
171 <div class="refsect2">
172 <a name="hb-version-string"></a><h3>hb_version_string ()</h3>
173 <pre class="programlisting">const <span class="returnvalue">char</span> *
174 hb_version_string (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
175 <p>Returns library version as a string with three components.</p>
176 <div class="refsect3">
177 <a name="id-1.3.3.10.7.5.5"></a><h4>Returns</h4>
178 <p> library version string.</p>
179 <p></p>
180 </div>
181 <p class="since">Since 0.9.2</p>
182 </div>
183 </div>
184 <div class="refsect1">
185 <a name="harfbuzz-hb-version.other_details"></a><h2>Types and Values</h2>
186 <div class="refsect2">
187 <a name="HB-VERSION-MAJOR:CAPS"></a><h3>HB_VERSION_MAJOR</h3>
188 <pre class="programlisting">#define HB_VERSION_MAJOR 1
189 </pre>
190 </div>
191 <hr>
192 <div class="refsect2">
193 <a name="HB-VERSION-MICRO:CAPS"></a><h3>HB_VERSION_MICRO</h3>
194 <pre class="programlisting">#define HB_VERSION_MICRO 7
195 </pre>
196 </div>
197 <hr>
198 <div class="refsect2">
199 <a name="HB-VERSION-MINOR:CAPS"></a><h3>HB_VERSION_MINOR</h3>
200 <pre class="programlisting">#define HB_VERSION_MINOR 2
201 </pre>
202 </div>
203 <hr>
204 <div class="refsect2">
205 <a name="HB-VERSION-STRING:CAPS"></a><h3>HB_VERSION_STRING</h3>
206 <pre class="programlisting">#define HB_VERSION_STRING "1.2.7"
207 </pre>
208 </div>
209 </div>
210 </div>
211 <div class="footer">
212 <hr>
213           Generated by GTK-Doc V1.20</div>
214 </body>
215 </html>