d05e57d882d2414d231807b389bf3e0603fcd13e
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-set.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>hb-set: HarfBuzz Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="ch08.html" title="HarfBuzz API">
9 <link rel="prev" href="harfbuzz-hb-deprecated.html" title="hb-deprecated">
10 <link rel="next" href="harfbuzz-hb-ot.html" title="hb-ot">
11 <meta name="generator" content="GTK-Doc V1.27.1 (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="5"><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-set.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19                   <a href="#harfbuzz-hb-set.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="ch08.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="harfbuzz-hb-deprecated.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <td><a accesskey="n" href="harfbuzz-hb-ot.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-set"></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-set.top_of_page"></a>hb-set</span></h2>
31 <p>hb-set</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-set.functions"></a><h2>Functions</h2>
37 <div class="informaltable"><table class="informaltable" 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="function_type">
45 <span class="returnvalue">void</span>
46 </td>
47 <td class="function_name">
48 <a class="link" href="harfbuzz-hb-set.html#hb-set-add" title="hb_set_add ()">hb_set_add</a> <span class="c_punctuation">()</span>
49 </td>
50 </tr>
51 <tr>
52 <td class="function_type">
53 <span class="returnvalue">void</span>
54 </td>
55 <td class="function_name">
56 <a class="link" href="harfbuzz-hb-set.html#hb-set-add-range" title="hb_set_add_range ()">hb_set_add_range</a> <span class="c_punctuation">()</span>
57 </td>
58 </tr>
59 <tr>
60 <td class="function_type">
61 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
62 </td>
63 <td class="function_name">
64 <a class="link" href="harfbuzz-hb-set.html#hb-set-allocation-successful" title="hb_set_allocation_successful ()">hb_set_allocation_successful</a> <span class="c_punctuation">()</span>
65 </td>
66 </tr>
67 <tr>
68 <td class="function_type">
69 <span class="returnvalue">void</span>
70 </td>
71 <td class="function_name">
72 <a class="link" href="harfbuzz-hb-set.html#hb-set-clear" title="hb_set_clear ()">hb_set_clear</a> <span class="c_punctuation">()</span>
73 </td>
74 </tr>
75 <tr>
76 <td class="function_type">
77 <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
78 </td>
79 <td class="function_name">
80 <a class="link" href="harfbuzz-hb-set.html#hb-set-create" title="hb_set_create ()">hb_set_create</a> <span class="c_punctuation">()</span>
81 </td>
82 </tr>
83 <tr>
84 <td class="function_type">
85 <span class="returnvalue">void</span>
86 </td>
87 <td class="function_name">
88 <a class="link" href="harfbuzz-hb-set.html#hb-set-del" title="hb_set_del ()">hb_set_del</a> <span class="c_punctuation">()</span>
89 </td>
90 </tr>
91 <tr>
92 <td class="function_type">
93 <span class="returnvalue">void</span>
94 </td>
95 <td class="function_name">
96 <a class="link" href="harfbuzz-hb-set.html#hb-set-del-range" title="hb_set_del_range ()">hb_set_del_range</a> <span class="c_punctuation">()</span>
97 </td>
98 </tr>
99 <tr>
100 <td class="function_type">
101 <span class="returnvalue">void</span>
102 </td>
103 <td class="function_name">
104 <a class="link" href="harfbuzz-hb-set.html#hb-set-destroy" title="hb_set_destroy ()">hb_set_destroy</a> <span class="c_punctuation">()</span>
105 </td>
106 </tr>
107 <tr>
108 <td class="function_type">
109 <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
110 </td>
111 <td class="function_name">
112 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-empty" title="hb_set_get_empty ()">hb_set_get_empty</a> <span class="c_punctuation">()</span>
113 </td>
114 </tr>
115 <tr>
116 <td class="function_type">
117 <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
118 </td>
119 <td class="function_name">
120 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-max" title="hb_set_get_max ()">hb_set_get_max</a> <span class="c_punctuation">()</span>
121 </td>
122 </tr>
123 <tr>
124 <td class="function_type">
125 <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
126 </td>
127 <td class="function_name">
128 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-min" title="hb_set_get_min ()">hb_set_get_min</a> <span class="c_punctuation">()</span>
129 </td>
130 </tr>
131 <tr>
132 <td class="function_type">unsigned <span class="returnvalue">int</span>
133 </td>
134 <td class="function_name">
135 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-population" title="hb_set_get_population ()">hb_set_get_population</a> <span class="c_punctuation">()</span>
136 </td>
137 </tr>
138 <tr>
139 <td class="function_type">
140 <span class="returnvalue">void</span> *
141 </td>
142 <td class="function_name">
143 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-user-data" title="hb_set_get_user_data ()">hb_set_get_user_data</a> <span class="c_punctuation">()</span>
144 </td>
145 </tr>
146 <tr>
147 <td class="function_type">
148 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
149 </td>
150 <td class="function_name">
151 <a class="link" href="harfbuzz-hb-set.html#hb-set-has" title="hb_set_has ()">hb_set_has</a> <span class="c_punctuation">()</span>
152 </td>
153 </tr>
154 <tr>
155 <td class="function_type">
156 <span class="returnvalue">void</span>
157 </td>
158 <td class="function_name">
159 <a class="link" href="harfbuzz-hb-set.html#hb-set-intersect" title="hb_set_intersect ()">hb_set_intersect</a> <span class="c_punctuation">()</span>
160 </td>
161 </tr>
162 <tr>
163 <td class="function_type">
164 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
165 </td>
166 <td class="function_name">
167 <a class="link" href="harfbuzz-hb-set.html#hb-set-is-empty" title="hb_set_is_empty ()">hb_set_is_empty</a> <span class="c_punctuation">()</span>
168 </td>
169 </tr>
170 <tr>
171 <td class="function_type">
172 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
173 </td>
174 <td class="function_name">
175 <a class="link" href="harfbuzz-hb-set.html#hb-set-is-equal" title="hb_set_is_equal ()">hb_set_is_equal</a> <span class="c_punctuation">()</span>
176 </td>
177 </tr>
178 <tr>
179 <td class="function_type">
180 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
181 </td>
182 <td class="function_name">
183 <a class="link" href="harfbuzz-hb-set.html#hb-set-is-subset" title="hb_set_is_subset ()">hb_set_is_subset</a> <span class="c_punctuation">()</span>
184 </td>
185 </tr>
186 <tr>
187 <td class="function_type">
188 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
189 </td>
190 <td class="function_name">
191 <a class="link" href="harfbuzz-hb-set.html#hb-set-next" title="hb_set_next ()">hb_set_next</a> <span class="c_punctuation">()</span>
192 </td>
193 </tr>
194 <tr>
195 <td class="function_type">
196 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
197 </td>
198 <td class="function_name">
199 <a class="link" href="harfbuzz-hb-set.html#hb-set-next-range" title="hb_set_next_range ()">hb_set_next_range</a> <span class="c_punctuation">()</span>
200 </td>
201 </tr>
202 <tr>
203 <td class="function_type">
204 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
205 </td>
206 <td class="function_name">
207 <a class="link" href="harfbuzz-hb-set.html#hb-set-previous" title="hb_set_previous ()">hb_set_previous</a> <span class="c_punctuation">()</span>
208 </td>
209 </tr>
210 <tr>
211 <td class="function_type">
212 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
213 </td>
214 <td class="function_name">
215 <a class="link" href="harfbuzz-hb-set.html#hb-set-previous-range" title="hb_set_previous_range ()">hb_set_previous_range</a> <span class="c_punctuation">()</span>
216 </td>
217 </tr>
218 <tr>
219 <td class="function_type">
220 <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
221 </td>
222 <td class="function_name">
223 <a class="link" href="harfbuzz-hb-set.html#hb-set-reference" title="hb_set_reference ()">hb_set_reference</a> <span class="c_punctuation">()</span>
224 </td>
225 </tr>
226 <tr>
227 <td class="function_type">
228 <span class="returnvalue">void</span>
229 </td>
230 <td class="function_name">
231 <a class="link" href="harfbuzz-hb-set.html#hb-set-set" title="hb_set_set ()">hb_set_set</a> <span class="c_punctuation">()</span>
232 </td>
233 </tr>
234 <tr>
235 <td class="function_type">
236 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
237 </td>
238 <td class="function_name">
239 <a class="link" href="harfbuzz-hb-set.html#hb-set-set-user-data" title="hb_set_set_user_data ()">hb_set_set_user_data</a> <span class="c_punctuation">()</span>
240 </td>
241 </tr>
242 <tr>
243 <td class="function_type">
244 <span class="returnvalue">void</span>
245 </td>
246 <td class="function_name">
247 <a class="link" href="harfbuzz-hb-set.html#hb-set-subtract" title="hb_set_subtract ()">hb_set_subtract</a> <span class="c_punctuation">()</span>
248 </td>
249 </tr>
250 <tr>
251 <td class="function_type">
252 <span class="returnvalue">void</span>
253 </td>
254 <td class="function_name">
255 <a class="link" href="harfbuzz-hb-set.html#hb-set-symmetric-difference" title="hb_set_symmetric_difference ()">hb_set_symmetric_difference</a> <span class="c_punctuation">()</span>
256 </td>
257 </tr>
258 <tr>
259 <td class="function_type">
260 <span class="returnvalue">void</span>
261 </td>
262 <td class="function_name">
263 <a class="link" href="harfbuzz-hb-set.html#hb-set-union" title="hb_set_union ()">hb_set_union</a> <span class="c_punctuation">()</span>
264 </td>
265 </tr>
266 </tbody>
267 </table></div>
268 </div>
269 <a name="hb-set-t"></a><div class="refsect1">
270 <a name="harfbuzz-hb-set.other"></a><h2>Types and Values</h2>
271 <div class="informaltable"><table class="informaltable" width="100%" border="0">
272 <colgroup>
273 <col width="150px" class="name">
274 <col class="description">
275 </colgroup>
276 <tbody>
277 <tr>
278 <td class="define_keyword">#define</td>
279 <td class="function_name"><a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID">HB_SET_VALUE_INVALID</a></td>
280 </tr>
281 <tr>
282 <td class="typedef_keyword">typedef</td>
283 <td class="function_name"><a class="link" href="harfbuzz-hb-set.html#hb-set-t">hb_set_t</a></td>
284 </tr>
285 </tbody>
286 </table></div>
287 </div>
288 <div class="refsect1">
289 <a name="harfbuzz-hb-set.object-hierarchy"></a><h2>Object Hierarchy</h2>
290 <pre class="screen">    <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
291     <span class="lineart">╰──</span> hb_set_t
292 </pre>
293 </div>
294 <div class="refsect1">
295 <a name="harfbuzz-hb-set.description"></a><h2>Description</h2>
296 </div>
297 <div class="refsect1">
298 <a name="harfbuzz-hb-set.functions_details"></a><h2>Functions</h2>
299 <div class="refsect2">
300 <a name="hb-set-add"></a><h3>hb_set_add ()</h3>
301 <pre class="programlisting"><span class="returnvalue">void</span>
302 hb_set_add (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
303             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> codepoint</code></em>);</pre>
304 <div class="refsect3">
305 <a name="hb-set-add.parameters"></a><h4>Parameters</h4>
306 <div class="informaltable"><table class="informaltable" width="100%" border="0">
307 <colgroup>
308 <col width="150px" class="parameters_name">
309 <col class="parameters_description">
310 <col width="200px" class="parameters_annotations">
311 </colgroup>
312 <tbody><tr>
313 <td class="parameter_name"><p>set</p></td>
314 <td class="parameter_description"><p>a set.</p></td>
315 <td class="parameter_annotations"> </td>
316 </tr></tbody>
317 </table></div>
318 </div>
319 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
320 </div>
321 <hr>
322 <div class="refsect2">
323 <a name="hb-set-add-range"></a><h3>hb_set_add_range ()</h3>
324 <pre class="programlisting"><span class="returnvalue">void</span>
325 hb_set_add_range (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
326                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> first</code></em>,
327                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> last</code></em>);</pre>
328 <div class="refsect3">
329 <a name="hb-set-add-range.parameters"></a><h4>Parameters</h4>
330 <div class="informaltable"><table class="informaltable" width="100%" border="0">
331 <colgroup>
332 <col width="150px" class="parameters_name">
333 <col class="parameters_description">
334 <col width="200px" class="parameters_annotations">
335 </colgroup>
336 <tbody><tr>
337 <td class="parameter_name"><p>set</p></td>
338 <td class="parameter_description"><p>a set.</p></td>
339 <td class="parameter_annotations"> </td>
340 </tr></tbody>
341 </table></div>
342 </div>
343 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
344 </div>
345 <hr>
346 <div class="refsect2">
347 <a name="hb-set-allocation-successful"></a><h3>hb_set_allocation_successful ()</h3>
348 <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>
349 hb_set_allocation_successful (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
350 <div class="refsect3">
351 <a name="hb-set-allocation-successful.parameters"></a><h4>Parameters</h4>
352 <div class="informaltable"><table class="informaltable" width="100%" border="0">
353 <colgroup>
354 <col width="150px" class="parameters_name">
355 <col class="parameters_description">
356 <col width="200px" class="parameters_annotations">
357 </colgroup>
358 <tbody><tr>
359 <td class="parameter_name"><p>set</p></td>
360 <td class="parameter_description"><p>a set.</p></td>
361 <td class="parameter_annotations"> </td>
362 </tr></tbody>
363 </table></div>
364 </div>
365 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
366 </div>
367 <hr>
368 <div class="refsect2">
369 <a name="hb-set-clear"></a><h3>hb_set_clear ()</h3>
370 <pre class="programlisting"><span class="returnvalue">void</span>
371 hb_set_clear (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
372 <div class="refsect3">
373 <a name="hb-set-clear.parameters"></a><h4>Parameters</h4>
374 <div class="informaltable"><table class="informaltable" width="100%" border="0">
375 <colgroup>
376 <col width="150px" class="parameters_name">
377 <col class="parameters_description">
378 <col width="200px" class="parameters_annotations">
379 </colgroup>
380 <tbody><tr>
381 <td class="parameter_name"><p>set</p></td>
382 <td class="parameter_description"><p>a set.</p></td>
383 <td class="parameter_annotations"> </td>
384 </tr></tbody>
385 </table></div>
386 </div>
387 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
388 </div>
389 <hr>
390 <div class="refsect2">
391 <a name="hb-set-create"></a><h3>hb_set_create ()</h3>
392 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
393 hb_set_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
394 <p><span class="annotation">[Xconstructor]</span></p>
395 <div class="refsect3">
396 <a name="hb-set-create.returns"></a><h4>Returns</h4>
397 <p>. </p>
398 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
399 </div>
400 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
401 </div>
402 <hr>
403 <div class="refsect2">
404 <a name="hb-set-del"></a><h3>hb_set_del ()</h3>
405 <pre class="programlisting"><span class="returnvalue">void</span>
406 hb_set_del (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
407             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> codepoint</code></em>);</pre>
408 <div class="refsect3">
409 <a name="hb-set-del.parameters"></a><h4>Parameters</h4>
410 <div class="informaltable"><table class="informaltable" width="100%" border="0">
411 <colgroup>
412 <col width="150px" class="parameters_name">
413 <col class="parameters_description">
414 <col width="200px" class="parameters_annotations">
415 </colgroup>
416 <tbody><tr>
417 <td class="parameter_name"><p>set</p></td>
418 <td class="parameter_description"><p>a set.</p></td>
419 <td class="parameter_annotations"> </td>
420 </tr></tbody>
421 </table></div>
422 </div>
423 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
424 </div>
425 <hr>
426 <div class="refsect2">
427 <a name="hb-set-del-range"></a><h3>hb_set_del_range ()</h3>
428 <pre class="programlisting"><span class="returnvalue">void</span>
429 hb_set_del_range (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
430                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> first</code></em>,
431                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> last</code></em>);</pre>
432 <div class="refsect3">
433 <a name="hb-set-del-range.parameters"></a><h4>Parameters</h4>
434 <div class="informaltable"><table class="informaltable" width="100%" border="0">
435 <colgroup>
436 <col width="150px" class="parameters_name">
437 <col class="parameters_description">
438 <col width="200px" class="parameters_annotations">
439 </colgroup>
440 <tbody><tr>
441 <td class="parameter_name"><p>set</p></td>
442 <td class="parameter_description"><p>a set.</p></td>
443 <td class="parameter_annotations"> </td>
444 </tr></tbody>
445 </table></div>
446 </div>
447 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
448 </div>
449 <hr>
450 <div class="refsect2">
451 <a name="hb-set-destroy"></a><h3>hb_set_destroy ()</h3>
452 <pre class="programlisting"><span class="returnvalue">void</span>
453 hb_set_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
454 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
455 <div class="refsect3">
456 <a name="hb-set-destroy.parameters"></a><h4>Parameters</h4>
457 <div class="informaltable"><table class="informaltable" width="100%" border="0">
458 <colgroup>
459 <col width="150px" class="parameters_name">
460 <col class="parameters_description">
461 <col width="200px" class="parameters_annotations">
462 </colgroup>
463 <tbody><tr>
464 <td class="parameter_name"><p>set</p></td>
465 <td class="parameter_description"><p>a set.</p></td>
466 <td class="parameter_annotations"> </td>
467 </tr></tbody>
468 </table></div>
469 </div>
470 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
471 </div>
472 <hr>
473 <div class="refsect2">
474 <a name="hb-set-get-empty"></a><h3>hb_set_get_empty ()</h3>
475 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
476 hb_set_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
477 <div class="refsect3">
478 <a name="hb-set-get-empty.returns"></a><h4>Returns</h4>
479 <p>. </p>
480 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
481 </div>
482 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
483 </div>
484 <hr>
485 <div class="refsect2">
486 <a name="hb-set-get-max"></a><h3>hb_set_get_max ()</h3>
487 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
488 hb_set_get_max (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
489 <p>Finds the maximum number in the set.</p>
490 <div class="refsect3">
491 <a name="hb-set-get-max.parameters"></a><h4>Parameters</h4>
492 <div class="informaltable"><table class="informaltable" width="100%" border="0">
493 <colgroup>
494 <col width="150px" class="parameters_name">
495 <col class="parameters_description">
496 <col width="200px" class="parameters_annotations">
497 </colgroup>
498 <tbody><tr>
499 <td class="parameter_name"><p>set</p></td>
500 <td class="parameter_description"><p>a set.</p></td>
501 <td class="parameter_annotations"> </td>
502 </tr></tbody>
503 </table></div>
504 </div>
505 <div class="refsect3">
506 <a name="hb-set-get-max.returns"></a><h4>Returns</h4>
507 <p> minimum of the set, or <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> if set is empty.</p>
508 </div>
509 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
510 </div>
511 <hr>
512 <div class="refsect2">
513 <a name="hb-set-get-min"></a><h3>hb_set_get_min ()</h3>
514 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
515 hb_set_get_min (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
516 <p>Finds the minimum number in the set.</p>
517 <div class="refsect3">
518 <a name="hb-set-get-min.parameters"></a><h4>Parameters</h4>
519 <div class="informaltable"><table class="informaltable" width="100%" border="0">
520 <colgroup>
521 <col width="150px" class="parameters_name">
522 <col class="parameters_description">
523 <col width="200px" class="parameters_annotations">
524 </colgroup>
525 <tbody><tr>
526 <td class="parameter_name"><p>set</p></td>
527 <td class="parameter_description"><p>a set.</p></td>
528 <td class="parameter_annotations"> </td>
529 </tr></tbody>
530 </table></div>
531 </div>
532 <div class="refsect3">
533 <a name="hb-set-get-min.returns"></a><h4>Returns</h4>
534 <p> minimum of the set, or <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> if set is empty.</p>
535 </div>
536 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
537 </div>
538 <hr>
539 <div class="refsect2">
540 <a name="hb-set-get-population"></a><h3>hb_set_get_population ()</h3>
541 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
542 hb_set_get_population (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
543 <p>Returns the number of numbers in the set.</p>
544 <div class="refsect3">
545 <a name="hb-set-get-population.parameters"></a><h4>Parameters</h4>
546 <div class="informaltable"><table class="informaltable" width="100%" border="0">
547 <colgroup>
548 <col width="150px" class="parameters_name">
549 <col class="parameters_description">
550 <col width="200px" class="parameters_annotations">
551 </colgroup>
552 <tbody><tr>
553 <td class="parameter_name"><p>set</p></td>
554 <td class="parameter_description"><p>a set.</p></td>
555 <td class="parameter_annotations"> </td>
556 </tr></tbody>
557 </table></div>
558 </div>
559 <div class="refsect3">
560 <a name="hb-set-get-population.returns"></a><h4>Returns</h4>
561 <p> set population.</p>
562 </div>
563 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
564 </div>
565 <hr>
566 <div class="refsect2">
567 <a name="hb-set-get-user-data"></a><h3>hb_set_get_user_data ()</h3>
568 <pre class="programlisting"><span class="returnvalue">void</span> *
569 hb_set_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
570                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);</pre>
571 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
572 <div class="refsect3">
573 <a name="hb-set-get-user-data.parameters"></a><h4>Parameters</h4>
574 <div class="informaltable"><table class="informaltable" width="100%" border="0">
575 <colgroup>
576 <col width="150px" class="parameters_name">
577 <col class="parameters_description">
578 <col width="200px" class="parameters_annotations">
579 </colgroup>
580 <tbody><tr>
581 <td class="parameter_name"><p>set</p></td>
582 <td class="parameter_description"><p>a set.</p></td>
583 <td class="parameter_annotations"> </td>
584 </tr></tbody>
585 </table></div>
586 </div>
587 <div class="refsect3">
588 <a name="hb-set-get-user-data.returns"></a><h4>Returns</h4>
589 <p>. </p>
590 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
591 </div>
592 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
593 </div>
594 <hr>
595 <div class="refsect2">
596 <a name="hb-set-has"></a><h3>hb_set_has ()</h3>
597 <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>
598 hb_set_has (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
599             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> codepoint</code></em>);</pre>
600 <div class="refsect3">
601 <a name="hb-set-has.parameters"></a><h4>Parameters</h4>
602 <div class="informaltable"><table class="informaltable" width="100%" border="0">
603 <colgroup>
604 <col width="150px" class="parameters_name">
605 <col class="parameters_description">
606 <col width="200px" class="parameters_annotations">
607 </colgroup>
608 <tbody><tr>
609 <td class="parameter_name"><p>set</p></td>
610 <td class="parameter_description"><p>a set.</p></td>
611 <td class="parameter_annotations"> </td>
612 </tr></tbody>
613 </table></div>
614 </div>
615 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
616 </div>
617 <hr>
618 <div class="refsect2">
619 <a name="hb-set-intersect"></a><h3>hb_set_intersect ()</h3>
620 <pre class="programlisting"><span class="returnvalue">void</span>
621 hb_set_intersect (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
622                   <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
623 <div class="refsect3">
624 <a name="hb-set-intersect.parameters"></a><h4>Parameters</h4>
625 <div class="informaltable"><table class="informaltable" width="100%" border="0">
626 <colgroup>
627 <col width="150px" class="parameters_name">
628 <col class="parameters_description">
629 <col width="200px" class="parameters_annotations">
630 </colgroup>
631 <tbody><tr>
632 <td class="parameter_name"><p>set</p></td>
633 <td class="parameter_description"><p>a set.</p></td>
634 <td class="parameter_annotations"> </td>
635 </tr></tbody>
636 </table></div>
637 </div>
638 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
639 </div>
640 <hr>
641 <div class="refsect2">
642 <a name="hb-set-is-empty"></a><h3>hb_set_is_empty ()</h3>
643 <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>
644 hb_set_is_empty (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
645 <div class="refsect3">
646 <a name="hb-set-is-empty.parameters"></a><h4>Parameters</h4>
647 <div class="informaltable"><table class="informaltable" width="100%" border="0">
648 <colgroup>
649 <col width="150px" class="parameters_name">
650 <col class="parameters_description">
651 <col width="200px" class="parameters_annotations">
652 </colgroup>
653 <tbody><tr>
654 <td class="parameter_name"><p>set</p></td>
655 <td class="parameter_description"><p>a set.</p></td>
656 <td class="parameter_annotations"> </td>
657 </tr></tbody>
658 </table></div>
659 </div>
660 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
661 </div>
662 <hr>
663 <div class="refsect2">
664 <a name="hb-set-is-equal"></a><h3>hb_set_is_equal ()</h3>
665 <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>
666 hb_set_is_equal (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
667                  <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
668 <div class="refsect3">
669 <a name="hb-set-is-equal.parameters"></a><h4>Parameters</h4>
670 <div class="informaltable"><table class="informaltable" width="100%" border="0">
671 <colgroup>
672 <col width="150px" class="parameters_name">
673 <col class="parameters_description">
674 <col width="200px" class="parameters_annotations">
675 </colgroup>
676 <tbody>
677 <tr>
678 <td class="parameter_name"><p>set</p></td>
679 <td class="parameter_description"><p>a set.</p></td>
680 <td class="parameter_annotations"> </td>
681 </tr>
682 <tr>
683 <td class="parameter_name"><p>other</p></td>
684 <td class="parameter_description"><p>other set.</p></td>
685 <td class="parameter_annotations"> </td>
686 </tr>
687 </tbody>
688 </table></div>
689 </div>
690 <div class="refsect3">
691 <a name="hb-set-is-equal.returns"></a><h4>Returns</h4>
692 <p> <code class="literal">TRUE</code> if the two sets are equal, <code class="literal">FALSE</code> otherwise.</p>
693 </div>
694 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
695 </div>
696 <hr>
697 <div class="refsect2">
698 <a name="hb-set-is-subset"></a><h3>hb_set_is_subset ()</h3>
699 <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>
700 hb_set_is_subset (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
701                   <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *larger_set</code></em>);</pre>
702 <div class="refsect3">
703 <a name="hb-set-is-subset.parameters"></a><h4>Parameters</h4>
704 <div class="informaltable"><table class="informaltable" width="100%" border="0">
705 <colgroup>
706 <col width="150px" class="parameters_name">
707 <col class="parameters_description">
708 <col width="200px" class="parameters_annotations">
709 </colgroup>
710 <tbody>
711 <tr>
712 <td class="parameter_name"><p>set</p></td>
713 <td class="parameter_description"><p>a set.</p></td>
714 <td class="parameter_annotations"> </td>
715 </tr>
716 <tr>
717 <td class="parameter_name"><p>larger_set</p></td>
718 <td class="parameter_description"><p>other set.</p></td>
719 <td class="parameter_annotations"> </td>
720 </tr>
721 </tbody>
722 </table></div>
723 </div>
724 <div class="refsect3">
725 <a name="hb-set-is-subset.returns"></a><h4>Returns</h4>
726 <p> <code class="literal">TRUE</code> if the <em class="parameter"><code>set</code></em>
727 is a subset of (or equal to) <em class="parameter"><code>larger_set</code></em>
728 , <code class="literal">FALSE</code> otherwise.</p>
729 </div>
730 <p class="since">Since: 1.8.1</p>
731 </div>
732 <hr>
733 <div class="refsect2">
734 <a name="hb-set-next"></a><h3>hb_set_next ()</h3>
735 <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>
736 hb_set_next (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
737              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *codepoint</code></em>);</pre>
738 <p>Gets the next number in <em class="parameter"><code>set</code></em>
739  that is greater than current value of <em class="parameter"><code>codepoint</code></em>
740 .</p>
741 <p>Set <em class="parameter"><code>codepoint</code></em>
742  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> to get started.</p>
743 <div class="refsect3">
744 <a name="hb-set-next.parameters"></a><h4>Parameters</h4>
745 <div class="informaltable"><table class="informaltable" width="100%" border="0">
746 <colgroup>
747 <col width="150px" class="parameters_name">
748 <col class="parameters_description">
749 <col width="200px" class="parameters_annotations">
750 </colgroup>
751 <tbody>
752 <tr>
753 <td class="parameter_name"><p>set</p></td>
754 <td class="parameter_description"><p>a set.</p></td>
755 <td class="parameter_annotations"> </td>
756 </tr>
757 <tr>
758 <td class="parameter_name"><p>codepoint</p></td>
759 <td class="parameter_description"><p>. </p></td>
760 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
761 </tr>
762 </tbody>
763 </table></div>
764 </div>
765 <div class="refsect3">
766 <a name="hb-set-next.returns"></a><h4>Returns</h4>
767 <p> whether there was a next value.</p>
768 </div>
769 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
770 </div>
771 <hr>
772 <div class="refsect2">
773 <a name="hb-set-next-range"></a><h3>hb_set_next_range ()</h3>
774 <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>
775 hb_set_next_range (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
776                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *first</code></em>,
777                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *last</code></em>);</pre>
778 <p>Gets the next consecutive range of numbers in <em class="parameter"><code>set</code></em>
779  that
780 are greater than current value of <em class="parameter"><code>last</code></em>
781 .</p>
782 <p>Set <em class="parameter"><code>last</code></em>
783  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> to get started.</p>
784 <div class="refsect3">
785 <a name="hb-set-next-range.parameters"></a><h4>Parameters</h4>
786 <div class="informaltable"><table class="informaltable" width="100%" border="0">
787 <colgroup>
788 <col width="150px" class="parameters_name">
789 <col class="parameters_description">
790 <col width="200px" class="parameters_annotations">
791 </colgroup>
792 <tbody>
793 <tr>
794 <td class="parameter_name"><p>set</p></td>
795 <td class="parameter_description"><p>a set.</p></td>
796 <td class="parameter_annotations"> </td>
797 </tr>
798 <tr>
799 <td class="parameter_name"><p>first</p></td>
800 <td class="parameter_description"><p>output first codepoint in the range. </p></td>
801 <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>
802 </tr>
803 <tr>
804 <td class="parameter_name"><p>last</p></td>
805 <td class="parameter_description"><p>input current last and output last codepoint in the range. </p></td>
806 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
807 </tr>
808 </tbody>
809 </table></div>
810 </div>
811 <div class="refsect3">
812 <a name="hb-set-next-range.returns"></a><h4>Returns</h4>
813 <p> whether there was a next range.</p>
814 </div>
815 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
816 </div>
817 <hr>
818 <div class="refsect2">
819 <a name="hb-set-previous"></a><h3>hb_set_previous ()</h3>
820 <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>
821 hb_set_previous (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
822                  <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *codepoint</code></em>);</pre>
823 <p>Gets the previous number in <em class="parameter"><code>set</code></em>
824  that is slower than current value of <em class="parameter"><code>codepoint</code></em>
825 .</p>
826 <p>Set <em class="parameter"><code>codepoint</code></em>
827  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> to get started.</p>
828 <div class="refsect3">
829 <a name="hb-set-previous.parameters"></a><h4>Parameters</h4>
830 <div class="informaltable"><table class="informaltable" width="100%" border="0">
831 <colgroup>
832 <col width="150px" class="parameters_name">
833 <col class="parameters_description">
834 <col width="200px" class="parameters_annotations">
835 </colgroup>
836 <tbody>
837 <tr>
838 <td class="parameter_name"><p>set</p></td>
839 <td class="parameter_description"><p>a set.</p></td>
840 <td class="parameter_annotations"> </td>
841 </tr>
842 <tr>
843 <td class="parameter_name"><p>codepoint</p></td>
844 <td class="parameter_description"><p>. </p></td>
845 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
846 </tr>
847 </tbody>
848 </table></div>
849 </div>
850 <div class="refsect3">
851 <a name="hb-set-previous.returns"></a><h4>Returns</h4>
852 <p> whether there was a previous value.</p>
853 </div>
854 <p class="since">Since: 1.8.0</p>
855 </div>
856 <hr>
857 <div class="refsect2">
858 <a name="hb-set-previous-range"></a><h3>hb_set_previous_range ()</h3>
859 <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>
860 hb_set_previous_range (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
861                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *first</code></em>,
862                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *last</code></em>);</pre>
863 <p>Gets the previous consecutive range of numbers in <em class="parameter"><code>set</code></em>
864  that
865 are greater than current value of <em class="parameter"><code>last</code></em>
866 .</p>
867 <p>Set <em class="parameter"><code>first</code></em>
868  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> to get started.</p>
869 <div class="refsect3">
870 <a name="hb-set-previous-range.parameters"></a><h4>Parameters</h4>
871 <div class="informaltable"><table class="informaltable" width="100%" border="0">
872 <colgroup>
873 <col width="150px" class="parameters_name">
874 <col class="parameters_description">
875 <col width="200px" class="parameters_annotations">
876 </colgroup>
877 <tbody>
878 <tr>
879 <td class="parameter_name"><p>set</p></td>
880 <td class="parameter_description"><p>a set.</p></td>
881 <td class="parameter_annotations"> </td>
882 </tr>
883 <tr>
884 <td class="parameter_name"><p>first</p></td>
885 <td class="parameter_description"><p>input current first and output first codepoint in the range. </p></td>
886 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
887 </tr>
888 <tr>
889 <td class="parameter_name"><p>last</p></td>
890 <td class="parameter_description"><p>output last codepoint in the range. </p></td>
891 <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>
892 </tr>
893 </tbody>
894 </table></div>
895 </div>
896 <div class="refsect3">
897 <a name="hb-set-previous-range.returns"></a><h4>Returns</h4>
898 <p> whether there was a previous range.</p>
899 </div>
900 <p class="since">Since: 1.8.0</p>
901 </div>
902 <hr>
903 <div class="refsect2">
904 <a name="hb-set-reference"></a><h3>hb_set_reference ()</h3>
905 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
906 hb_set_reference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
907 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
908 <div class="refsect3">
909 <a name="hb-set-reference.parameters"></a><h4>Parameters</h4>
910 <div class="informaltable"><table class="informaltable" width="100%" border="0">
911 <colgroup>
912 <col width="150px" class="parameters_name">
913 <col class="parameters_description">
914 <col width="200px" class="parameters_annotations">
915 </colgroup>
916 <tbody><tr>
917 <td class="parameter_name"><p>set</p></td>
918 <td class="parameter_description"><p>a set.</p></td>
919 <td class="parameter_annotations"> </td>
920 </tr></tbody>
921 </table></div>
922 </div>
923 <div class="refsect3">
924 <a name="hb-set-reference.returns"></a><h4>Returns</h4>
925 <p>. </p>
926 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
927 </div>
928 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
929 </div>
930 <hr>
931 <div class="refsect2">
932 <a name="hb-set-set"></a><h3>hb_set_set ()</h3>
933 <pre class="programlisting"><span class="returnvalue">void</span>
934 hb_set_set (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
935             <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
936 <div class="refsect3">
937 <a name="hb-set-set.parameters"></a><h4>Parameters</h4>
938 <div class="informaltable"><table class="informaltable" width="100%" border="0">
939 <colgroup>
940 <col width="150px" class="parameters_name">
941 <col class="parameters_description">
942 <col width="200px" class="parameters_annotations">
943 </colgroup>
944 <tbody><tr>
945 <td class="parameter_name"><p>set</p></td>
946 <td class="parameter_description"><p>a set.</p></td>
947 <td class="parameter_annotations"> </td>
948 </tr></tbody>
949 </table></div>
950 </div>
951 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
952 </div>
953 <hr>
954 <div class="refsect2">
955 <a name="hb-set-set-user-data"></a><h3>hb_set_set_user_data ()</h3>
956 <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>
957 hb_set_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
958                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
959                       <em class="parameter"><code><span class="type">void</span> *data</code></em>,
960                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>,
961                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="type">hb_bool_t</span></a> replace</code></em>);</pre>
962 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
963 <div class="refsect3">
964 <a name="hb-set-set-user-data.parameters"></a><h4>Parameters</h4>
965 <div class="informaltable"><table class="informaltable" width="100%" border="0">
966 <colgroup>
967 <col width="150px" class="parameters_name">
968 <col class="parameters_description">
969 <col width="200px" class="parameters_annotations">
970 </colgroup>
971 <tbody><tr>
972 <td class="parameter_name"><p>set</p></td>
973 <td class="parameter_description"><p>a set.</p></td>
974 <td class="parameter_annotations"> </td>
975 </tr></tbody>
976 </table></div>
977 </div>
978 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
979 </div>
980 <hr>
981 <div class="refsect2">
982 <a name="hb-set-subtract"></a><h3>hb_set_subtract ()</h3>
983 <pre class="programlisting"><span class="returnvalue">void</span>
984 hb_set_subtract (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
985                  <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
986 <div class="refsect3">
987 <a name="hb-set-subtract.parameters"></a><h4>Parameters</h4>
988 <div class="informaltable"><table class="informaltable" width="100%" border="0">
989 <colgroup>
990 <col width="150px" class="parameters_name">
991 <col class="parameters_description">
992 <col width="200px" class="parameters_annotations">
993 </colgroup>
994 <tbody><tr>
995 <td class="parameter_name"><p>set</p></td>
996 <td class="parameter_description"><p>a set.</p></td>
997 <td class="parameter_annotations"> </td>
998 </tr></tbody>
999 </table></div>
1000 </div>
1001 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1002 </div>
1003 <hr>
1004 <div class="refsect2">
1005 <a name="hb-set-symmetric-difference"></a><h3>hb_set_symmetric_difference ()</h3>
1006 <pre class="programlisting"><span class="returnvalue">void</span>
1007 hb_set_symmetric_difference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
1008                              <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
1009 <div class="refsect3">
1010 <a name="hb-set-symmetric-difference.parameters"></a><h4>Parameters</h4>
1011 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1012 <colgroup>
1013 <col width="150px" class="parameters_name">
1014 <col class="parameters_description">
1015 <col width="200px" class="parameters_annotations">
1016 </colgroup>
1017 <tbody><tr>
1018 <td class="parameter_name"><p>set</p></td>
1019 <td class="parameter_description"><p>a set.</p></td>
1020 <td class="parameter_annotations"> </td>
1021 </tr></tbody>
1022 </table></div>
1023 </div>
1024 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1025 </div>
1026 <hr>
1027 <div class="refsect2">
1028 <a name="hb-set-union"></a><h3>hb_set_union ()</h3>
1029 <pre class="programlisting"><span class="returnvalue">void</span>
1030 hb_set_union (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *set</code></em>,
1031               <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
1032 <div class="refsect3">
1033 <a name="hb-set-union.parameters"></a><h4>Parameters</h4>
1034 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1035 <colgroup>
1036 <col width="150px" class="parameters_name">
1037 <col class="parameters_description">
1038 <col width="200px" class="parameters_annotations">
1039 </colgroup>
1040 <tbody><tr>
1041 <td class="parameter_name"><p>set</p></td>
1042 <td class="parameter_description"><p>a set.</p></td>
1043 <td class="parameter_annotations"> </td>
1044 </tr></tbody>
1045 </table></div>
1046 </div>
1047 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1048 </div>
1049 </div>
1050 <div class="refsect1">
1051 <a name="harfbuzz-hb-set.other_details"></a><h2>Types and Values</h2>
1052 <div class="refsect2">
1053 <a name="HB-SET-VALUE-INVALID:CAPS"></a><h3>HB_SET_VALUE_INVALID</h3>
1054 <pre class="programlisting">#define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
1055 </pre>
1056 </div>
1057 <hr>
1058 <div class="refsect2">
1059 <a name="hb-set-t"></a><h3>hb_set_t</h3>
1060 <pre class="programlisting">typedef struct hb_set_t hb_set_t;
1061 </pre>
1062 </div>
1063 </div>
1064 </div>
1065 <div class="footer">
1066 <hr>Generated by GTK-Doc V1.27.1</div>
1067 </body>
1068 </html>