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>HarfBuzz Manual: hb-set</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-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.20 (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="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-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>
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-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>
26 <div class="refentry">
27 <a name="harfbuzz-hb-set"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
30 <h2><span class="refentrytitle"><a name="harfbuzz-hb-set.top_of_page"></a>hb-set</span></h2>
33 <td class="gallery_image" valign="top" align="right"></td>
35 <div class="refsect1">
36 <a name="harfbuzz-hb-set.functions"></a><h2>Functions</h2>
37 <div class="informaltable"><table width="100%" border="0">
39 <col width="150px" class="functions_return">
40 <col class="functions_name">
44 <td class="define_keyword">#define</td>
45 <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>
48 <td class="function_type">
49 <span class="returnvalue">void</span>
51 <td class="function_name">
52 <a class="link" href="harfbuzz-hb-set.html#hb-set-add" title="hb_set_add ()">hb_set_add</a> <span class="c_punctuation">()</span>
56 <td class="function_type">
57 <span class="returnvalue">void</span>
59 <td class="function_name">
60 <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>
64 <td class="function_type">
65 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
67 <td class="function_name">
68 <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>
72 <td class="function_type">
73 <span class="returnvalue">void</span>
75 <td class="function_name">
76 <a class="link" href="harfbuzz-hb-set.html#hb-set-clear" title="hb_set_clear ()">hb_set_clear</a> <span class="c_punctuation">()</span>
80 <td class="function_type">
81 <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
83 <td class="function_name">
84 <a class="link" href="harfbuzz-hb-set.html#hb-set-create" title="hb_set_create ()">hb_set_create</a> <span class="c_punctuation">()</span>
88 <td class="function_type">
89 <span class="returnvalue">void</span>
91 <td class="function_name">
92 <a class="link" href="harfbuzz-hb-set.html#hb-set-del" title="hb_set_del ()">hb_set_del</a> <span class="c_punctuation">()</span>
96 <td class="function_type">
97 <span class="returnvalue">void</span>
99 <td class="function_name">
100 <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>
104 <td class="function_type">
105 <span class="returnvalue">void</span>
107 <td class="function_name">
108 <a class="link" href="harfbuzz-hb-set.html#hb-set-destroy" title="hb_set_destroy ()">hb_set_destroy</a> <span class="c_punctuation">()</span>
112 <td class="function_type">
113 <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
115 <td class="function_name">
116 <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>
120 <td class="function_type">
121 <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
123 <td class="function_name">
124 <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>
128 <td class="function_type">
129 <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
131 <td class="function_name">
132 <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>
136 <td class="function_type">unsigned <span class="returnvalue">int</span>
138 <td class="function_name">
139 <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>
143 <td class="function_type">
144 <span class="returnvalue">void</span> *
146 <td class="function_name">
147 <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>
151 <td class="function_type">
152 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
154 <td class="function_name">
155 <a class="link" href="harfbuzz-hb-set.html#hb-set-has" title="hb_set_has ()">hb_set_has</a> <span class="c_punctuation">()</span>
159 <td class="function_type">
160 <span class="returnvalue">void</span>
162 <td class="function_name">
163 <a class="link" href="harfbuzz-hb-set.html#hb-set-intersect" title="hb_set_intersect ()">hb_set_intersect</a> <span class="c_punctuation">()</span>
167 <td class="function_type">
168 <span class="returnvalue">void</span>
170 <td class="function_name">
171 <a class="link" href="harfbuzz-hb-set.html#hb-set-invert" title="hb_set_invert ()">hb_set_invert</a> <span class="c_punctuation">()</span>
175 <td class="function_type">
176 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
178 <td class="function_name">
179 <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>
183 <td class="function_type">
184 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
186 <td class="function_name">
187 <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>
191 <td class="function_type">
192 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
194 <td class="function_name">
195 <a class="link" href="harfbuzz-hb-set.html#hb-set-next" title="hb_set_next ()">hb_set_next</a> <span class="c_punctuation">()</span>
199 <td class="function_type">
200 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
202 <td class="function_name">
203 <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>
207 <td class="function_type">
208 <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
210 <td class="function_name">
211 <a class="link" href="harfbuzz-hb-set.html#hb-set-reference" title="hb_set_reference ()">hb_set_reference</a> <span class="c_punctuation">()</span>
215 <td class="function_type">
216 <span class="returnvalue">void</span>
218 <td class="function_name">
219 <a class="link" href="harfbuzz-hb-set.html#hb-set-set" title="hb_set_set ()">hb_set_set</a> <span class="c_punctuation">()</span>
223 <td class="function_type">
224 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
226 <td class="function_name">
227 <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>
231 <td class="function_type">
232 <span class="returnvalue">void</span>
234 <td class="function_name">
235 <a class="link" href="harfbuzz-hb-set.html#hb-set-subtract" title="hb_set_subtract ()">hb_set_subtract</a> <span class="c_punctuation">()</span>
239 <td class="function_type">
240 <span class="returnvalue">void</span>
242 <td class="function_name">
243 <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>
247 <td class="function_type">
248 <span class="returnvalue">void</span>
250 <td class="function_name">
251 <a class="link" href="harfbuzz-hb-set.html#hb-set-union" title="hb_set_union ()">hb_set_union</a> <span class="c_punctuation">()</span>
257 <a name="hb-set-t"></a><div class="refsect1">
258 <a name="harfbuzz-hb-set.other"></a><h2>Types and Values</h2>
259 <div class="informaltable"><table width="100%" border="0">
261 <col width="150px" class="name">
262 <col class="description">
265 <td class="typedef_keyword">typedef</td>
266 <td class="function_name"><a class="link" href="harfbuzz-hb-set.html#hb-set-t">hb_set_t</a></td>
270 <div class="refsect1">
271 <a name="harfbuzz-hb-set.object-hierarchy"></a><h2>Object Hierarchy</h2>
272 <pre class="screen"> GBoxed
273 <span class="lineart">╰──</span> hb_set_t
276 <div class="refsect1">
277 <a name="harfbuzz-hb-set.description"></a><h2>Description</h2>
279 <div class="refsect1">
280 <a name="harfbuzz-hb-set.functions_details"></a><h2>Functions</h2>
281 <div class="refsect2">
282 <a name="HB-SET-VALUE-INVALID:CAPS"></a><h3>HB_SET_VALUE_INVALID</h3>
283 <pre class="programlisting">#define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
287 <div class="refsect2">
288 <a name="hb-set-add"></a><h3>hb_set_add ()</h3>
289 <pre class="programlisting"><span class="returnvalue">void</span>
290 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>,
291 <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>
292 <div class="refsect3">
293 <a name="id-1.3.3.12.8.3.4"></a><h4>Parameters</h4>
294 <div class="informaltable"><table width="100%" border="0">
296 <col width="150px" class="parameters_name">
297 <col class="parameters_description">
298 <col width="200px" class="parameters_annotations">
301 <td class="parameter_name"><p>set</p></td>
302 <td class="parameter_description"><p>a set.</p></td>
303 <td class="parameter_annotations"> </td>
307 <p class="since">Since 0.9.2</p>
310 <div class="refsect2">
311 <a name="hb-set-add-range"></a><h3>hb_set_add_range ()</h3>
312 <pre class="programlisting"><span class="returnvalue">void</span>
313 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>,
314 <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>,
315 <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>
316 <div class="refsect3">
317 <a name="id-1.3.3.12.8.4.4"></a><h4>Parameters</h4>
318 <div class="informaltable"><table width="100%" border="0">
320 <col width="150px" class="parameters_name">
321 <col class="parameters_description">
322 <col width="200px" class="parameters_annotations">
325 <td class="parameter_name"><p>set</p></td>
326 <td class="parameter_description"><p>a set.</p></td>
327 <td class="parameter_annotations"> </td>
331 <p class="since">Since 0.9.7</p>
334 <div class="refsect2">
335 <a name="hb-set-allocation-successful"></a><h3>hb_set_allocation_successful ()</h3>
336 <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>
337 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>
338 <div class="refsect3">
339 <a name="id-1.3.3.12.8.5.4"></a><h4>Parameters</h4>
340 <div class="informaltable"><table width="100%" border="0">
342 <col width="150px" class="parameters_name">
343 <col class="parameters_description">
344 <col width="200px" class="parameters_annotations">
347 <td class="parameter_name"><p>set</p></td>
348 <td class="parameter_description"><p>a set.</p></td>
349 <td class="parameter_annotations"> </td>
353 <div class="refsect3">
354 <a name="id-1.3.3.12.8.5.5"></a><h4>Returns</h4>
357 <p class="since">Since 0.9.2</p>
360 <div class="refsect2">
361 <a name="hb-set-clear"></a><h3>hb_set_clear ()</h3>
362 <pre class="programlisting"><span class="returnvalue">void</span>
363 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>
364 <div class="refsect3">
365 <a name="id-1.3.3.12.8.6.4"></a><h4>Parameters</h4>
366 <div class="informaltable"><table width="100%" border="0">
368 <col width="150px" class="parameters_name">
369 <col class="parameters_description">
370 <col width="200px" class="parameters_annotations">
373 <td class="parameter_name"><p>set</p></td>
374 <td class="parameter_description"><p>a set.</p></td>
375 <td class="parameter_annotations"> </td>
379 <p class="since">Since 0.9.2</p>
382 <div class="refsect2">
383 <a name="hb-set-create"></a><h3>hb_set_create ()</h3>
384 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
385 hb_set_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
388 <div class="refsect2">
389 <a name="hb-set-del"></a><h3>hb_set_del ()</h3>
390 <pre class="programlisting"><span class="returnvalue">void</span>
391 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>,
392 <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>
393 <div class="refsect3">
394 <a name="id-1.3.3.12.8.8.4"></a><h4>Parameters</h4>
395 <div class="informaltable"><table width="100%" border="0">
397 <col width="150px" class="parameters_name">
398 <col class="parameters_description">
399 <col width="200px" class="parameters_annotations">
402 <td class="parameter_name"><p>set</p></td>
403 <td class="parameter_description"><p>a set.</p></td>
404 <td class="parameter_annotations"> </td>
408 <p class="since">Since 0.9.2</p>
411 <div class="refsect2">
412 <a name="hb-set-del-range"></a><h3>hb_set_del_range ()</h3>
413 <pre class="programlisting"><span class="returnvalue">void</span>
414 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>,
415 <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>,
416 <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>
417 <div class="refsect3">
418 <a name="id-1.3.3.12.8.9.4"></a><h4>Parameters</h4>
419 <div class="informaltable"><table width="100%" border="0">
421 <col width="150px" class="parameters_name">
422 <col class="parameters_description">
423 <col width="200px" class="parameters_annotations">
426 <td class="parameter_name"><p>set</p></td>
427 <td class="parameter_description"><p>a set.</p></td>
428 <td class="parameter_annotations"> </td>
432 <p class="since">Since 0.9.7</p>
435 <div class="refsect2">
436 <a name="hb-set-destroy"></a><h3>hb_set_destroy ()</h3>
437 <pre class="programlisting"><span class="returnvalue">void</span>
438 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>
439 <div class="refsect3">
440 <a name="id-1.3.3.12.8.10.4"></a><h4>Parameters</h4>
441 <div class="informaltable"><table width="100%" border="0">
443 <col width="150px" class="parameters_name">
444 <col class="parameters_description">
445 <col width="200px" class="parameters_annotations">
448 <td class="parameter_name"><p>set</p></td>
449 <td class="parameter_description"><p>a set.</p></td>
450 <td class="parameter_annotations"> </td>
454 <p class="since">Since 0.9.2</p>
457 <div class="refsect2">
458 <a name="hb-set-get-empty"></a><h3>hb_set_get_empty ()</h3>
459 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
460 hb_set_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
461 <div class="refsect3">
462 <a name="id-1.3.3.12.8.11.4"></a><h4>Returns</h4>
464 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
466 <p class="since">Since 0.9.2</p>
469 <div class="refsect2">
470 <a name="hb-set-get-max"></a><h3>hb_set_get_max ()</h3>
471 <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>
472 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>
473 <p>Finds the maximum number in the set.</p>
474 <div class="refsect3">
475 <a name="id-1.3.3.12.8.12.5"></a><h4>Parameters</h4>
476 <div class="informaltable"><table width="100%" border="0">
478 <col width="150px" class="parameters_name">
479 <col class="parameters_description">
480 <col width="200px" class="parameters_annotations">
483 <td class="parameter_name"><p>set</p></td>
484 <td class="parameter_description"><p>a set.</p></td>
485 <td class="parameter_annotations"> </td>
489 <div class="refsect3">
490 <a name="id-1.3.3.12.8.12.6"></a><h4>Returns</h4>
491 <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>
494 <p class="since">Since 0.9.7</p>
497 <div class="refsect2">
498 <a name="hb-set-get-min"></a><h3>hb_set_get_min ()</h3>
499 <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>
500 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>
501 <p>Finds the minimum number in the set.</p>
502 <div class="refsect3">
503 <a name="id-1.3.3.12.8.13.5"></a><h4>Parameters</h4>
504 <div class="informaltable"><table width="100%" border="0">
506 <col width="150px" class="parameters_name">
507 <col class="parameters_description">
508 <col width="200px" class="parameters_annotations">
511 <td class="parameter_name"><p>set</p></td>
512 <td class="parameter_description"><p>a set.</p></td>
513 <td class="parameter_annotations"> </td>
517 <div class="refsect3">
518 <a name="id-1.3.3.12.8.13.6"></a><h4>Returns</h4>
519 <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>
522 <p class="since">Since 0.9.7</p>
525 <div class="refsect2">
526 <a name="hb-set-get-population"></a><h3>hb_set_get_population ()</h3>
527 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
528 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>
529 <p>Returns the number of numbers in the set.</p>
530 <div class="refsect3">
531 <a name="id-1.3.3.12.8.14.5"></a><h4>Parameters</h4>
532 <div class="informaltable"><table width="100%" border="0">
534 <col width="150px" class="parameters_name">
535 <col class="parameters_description">
536 <col width="200px" class="parameters_annotations">
539 <td class="parameter_name"><p>set</p></td>
540 <td class="parameter_description"><p>a set.</p></td>
541 <td class="parameter_annotations"> </td>
545 <div class="refsect3">
546 <a name="id-1.3.3.12.8.14.6"></a><h4>Returns</h4>
547 <p> set population.</p>
550 <p class="since">Since 0.9.7</p>
553 <div class="refsect2">
554 <a name="hb-set-get-user-data"></a><h3>hb_set_get_user_data ()</h3>
555 <pre class="programlisting"><span class="returnvalue">void</span> *
556 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>,
557 <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>
558 <div class="refsect3">
559 <a name="id-1.3.3.12.8.15.4"></a><h4>Parameters</h4>
560 <div class="informaltable"><table width="100%" border="0">
562 <col width="150px" class="parameters_name">
563 <col class="parameters_description">
564 <col width="200px" class="parameters_annotations">
567 <td class="parameter_name"><p>set</p></td>
568 <td class="parameter_description"><p>a set.</p></td>
569 <td class="parameter_annotations"> </td>
573 <div class="refsect3">
574 <a name="id-1.3.3.12.8.15.5"></a><h4>Returns</h4>
576 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
578 <p class="since">Since 0.9.2</p>
581 <div class="refsect2">
582 <a name="hb-set-has"></a><h3>hb_set_has ()</h3>
583 <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>
584 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>,
585 <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>
586 <div class="refsect3">
587 <a name="id-1.3.3.12.8.16.4"></a><h4>Parameters</h4>
588 <div class="informaltable"><table width="100%" border="0">
590 <col width="150px" class="parameters_name">
591 <col class="parameters_description">
592 <col width="200px" class="parameters_annotations">
595 <td class="parameter_name"><p>set</p></td>
596 <td class="parameter_description"><p>a set.</p></td>
597 <td class="parameter_annotations"> </td>
601 <div class="refsect3">
602 <a name="id-1.3.3.12.8.16.5"></a><h4>Returns</h4>
605 <p class="since">Since 0.9.2</p>
608 <div class="refsect2">
609 <a name="hb-set-intersect"></a><h3>hb_set_intersect ()</h3>
610 <pre class="programlisting"><span class="returnvalue">void</span>
611 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>,
612 <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>
613 <div class="refsect3">
614 <a name="id-1.3.3.12.8.17.4"></a><h4>Parameters</h4>
615 <div class="informaltable"><table width="100%" border="0">
617 <col width="150px" class="parameters_name">
618 <col class="parameters_description">
619 <col width="200px" class="parameters_annotations">
622 <td class="parameter_name"><p>set</p></td>
623 <td class="parameter_description"><p>a set.</p></td>
624 <td class="parameter_annotations"> </td>
628 <p class="since">Since 0.9.2</p>
631 <div class="refsect2">
632 <a name="hb-set-invert"></a><h3>hb_set_invert ()</h3>
633 <pre class="programlisting"><span class="returnvalue">void</span>
634 hb_set_invert (<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>
635 <div class="refsect3">
636 <a name="id-1.3.3.12.8.18.4"></a><h4>Parameters</h4>
637 <div class="informaltable"><table width="100%" border="0">
639 <col width="150px" class="parameters_name">
640 <col class="parameters_description">
641 <col width="200px" class="parameters_annotations">
644 <td class="parameter_name"><p>set</p></td>
645 <td class="parameter_description"><p>a set.</p></td>
646 <td class="parameter_annotations"> </td>
650 <p class="since">Since 0.9.10</p>
653 <div class="refsect2">
654 <a name="hb-set-is-empty"></a><h3>hb_set_is_empty ()</h3>
655 <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>
656 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>
657 <div class="refsect3">
658 <a name="id-1.3.3.12.8.19.4"></a><h4>Parameters</h4>
659 <div class="informaltable"><table width="100%" border="0">
661 <col width="150px" class="parameters_name">
662 <col class="parameters_description">
663 <col width="200px" class="parameters_annotations">
666 <td class="parameter_name"><p>set</p></td>
667 <td class="parameter_description"><p>a set.</p></td>
668 <td class="parameter_annotations"> </td>
672 <div class="refsect3">
673 <a name="id-1.3.3.12.8.19.5"></a><h4>Returns</h4>
676 <p class="since">Since 0.9.7</p>
679 <div class="refsect2">
680 <a name="hb-set-is-equal"></a><h3>hb_set_is_equal ()</h3>
681 <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>
682 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>,
683 <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>
684 <div class="refsect3">
685 <a name="id-1.3.3.12.8.20.4"></a><h4>Parameters</h4>
686 <div class="informaltable"><table width="100%" border="0">
688 <col width="150px" class="parameters_name">
689 <col class="parameters_description">
690 <col width="200px" class="parameters_annotations">
693 <td class="parameter_name"><p>set</p></td>
694 <td class="parameter_description"><p>a set.</p></td>
695 <td class="parameter_annotations"> </td>
699 <div class="refsect3">
700 <a name="id-1.3.3.12.8.20.5"></a><h4>Returns</h4>
703 <p class="since">Since 0.9.7</p>
706 <div class="refsect2">
707 <a name="hb-set-next"></a><h3>hb_set_next ()</h3>
708 <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>
709 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>,
710 <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>
711 <div class="refsect3">
712 <a name="id-1.3.3.12.8.21.4"></a><h4>Parameters</h4>
713 <div class="informaltable"><table width="100%" border="0">
715 <col width="150px" class="parameters_name">
716 <col class="parameters_description">
717 <col width="200px" class="parameters_annotations">
721 <td class="parameter_name"><p>set</p></td>
722 <td class="parameter_description"><p>a set.</p></td>
723 <td class="parameter_annotations"> </td>
726 <td class="parameter_name"><p>codepoint</p></td>
727 <td class="parameter_description"><p>. </p></td>
728 <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>
733 <div class="refsect3">
734 <a name="id-1.3.3.12.8.21.5"></a><h4>Returns</h4>
735 <p> whether there was a next value.</p>
738 <p class="since">Since 0.9.2</p>
741 <div class="refsect2">
742 <a name="hb-set-next-range"></a><h3>hb_set_next_range ()</h3>
743 <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>
744 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>,
745 <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>,
746 <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>
747 <p>Gets the next consecutive range of numbers in <em class="parameter"><code>set</code></em>
749 are greater than current value of <em class="parameter"><code>last</code></em>
751 <div class="refsect3">
752 <a name="id-1.3.3.12.8.22.5"></a><h4>Parameters</h4>
753 <div class="informaltable"><table width="100%" border="0">
755 <col width="150px" class="parameters_name">
756 <col class="parameters_description">
757 <col width="200px" class="parameters_annotations">
761 <td class="parameter_name"><p>set</p></td>
762 <td class="parameter_description"><p>a set.</p></td>
763 <td class="parameter_annotations"> </td>
766 <td class="parameter_name"><p>first</p></td>
767 <td class="parameter_description"><p> output first codepoint in the range. </p></td>
768 <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>
771 <td class="parameter_name"><p>last</p></td>
772 <td class="parameter_description"><p> input current last and output last codepoint in the range. </p></td>
773 <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>
778 <div class="refsect3">
779 <a name="id-1.3.3.12.8.22.6"></a><h4>Returns</h4>
780 <p> whether there was a next range.</p>
783 <p class="since">Since 0.9.7</p>
786 <div class="refsect2">
787 <a name="hb-set-reference"></a><h3>hb_set_reference ()</h3>
788 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
789 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>
790 <div class="refsect3">
791 <a name="id-1.3.3.12.8.23.4"></a><h4>Parameters</h4>
792 <div class="informaltable"><table width="100%" border="0">
794 <col width="150px" class="parameters_name">
795 <col class="parameters_description">
796 <col width="200px" class="parameters_annotations">
799 <td class="parameter_name"><p>set</p></td>
800 <td class="parameter_description"><p>a set.</p></td>
801 <td class="parameter_annotations"> </td>
805 <div class="refsect3">
806 <a name="id-1.3.3.12.8.23.5"></a><h4>Returns</h4>
808 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
810 <p class="since">Since 0.9.2</p>
813 <div class="refsect2">
814 <a name="hb-set-set"></a><h3>hb_set_set ()</h3>
815 <pre class="programlisting"><span class="returnvalue">void</span>
816 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>,
817 <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>
818 <div class="refsect3">
819 <a name="id-1.3.3.12.8.24.4"></a><h4>Parameters</h4>
820 <div class="informaltable"><table width="100%" border="0">
822 <col width="150px" class="parameters_name">
823 <col class="parameters_description">
824 <col width="200px" class="parameters_annotations">
827 <td class="parameter_name"><p>set</p></td>
828 <td class="parameter_description"><p>a set.</p></td>
829 <td class="parameter_annotations"> </td>
833 <p class="since">Since 0.9.2</p>
836 <div class="refsect2">
837 <a name="hb-set-set-user-data"></a><h3>hb_set_set_user_data ()</h3>
838 <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>
839 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>,
840 <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>,
841 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
842 <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>,
843 <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>
844 <div class="refsect3">
845 <a name="id-1.3.3.12.8.25.4"></a><h4>Parameters</h4>
846 <div class="informaltable"><table width="100%" border="0">
848 <col width="150px" class="parameters_name">
849 <col class="parameters_description">
850 <col width="200px" class="parameters_annotations">
854 <td class="parameter_name"><p>set</p></td>
855 <td class="parameter_description"><p>a set.</p></td>
856 <td class="parameter_annotations"> </td>
859 <td class="parameter_name"><p>data</p></td>
860 <td class="parameter_description"><p><em class="parameter"><code>destroy</code></em>
861 (closure data):</p></td>
862 <td class="parameter_annotations"> </td>
867 <div class="refsect3">
868 <a name="id-1.3.3.12.8.25.5"></a><h4>Returns</h4>
871 <p class="since">Since 0.9.2</p>
874 <div class="refsect2">
875 <a name="hb-set-subtract"></a><h3>hb_set_subtract ()</h3>
876 <pre class="programlisting"><span class="returnvalue">void</span>
877 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>,
878 <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>
879 <div class="refsect3">
880 <a name="id-1.3.3.12.8.26.4"></a><h4>Parameters</h4>
881 <div class="informaltable"><table width="100%" border="0">
883 <col width="150px" class="parameters_name">
884 <col class="parameters_description">
885 <col width="200px" class="parameters_annotations">
888 <td class="parameter_name"><p>set</p></td>
889 <td class="parameter_description"><p>a set.</p></td>
890 <td class="parameter_annotations"> </td>
894 <p class="since">Since 0.9.2</p>
897 <div class="refsect2">
898 <a name="hb-set-symmetric-difference"></a><h3>hb_set_symmetric_difference ()</h3>
899 <pre class="programlisting"><span class="returnvalue">void</span>
900 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>,
901 <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>
902 <div class="refsect3">
903 <a name="id-1.3.3.12.8.27.4"></a><h4>Parameters</h4>
904 <div class="informaltable"><table width="100%" border="0">
906 <col width="150px" class="parameters_name">
907 <col class="parameters_description">
908 <col width="200px" class="parameters_annotations">
911 <td class="parameter_name"><p>set</p></td>
912 <td class="parameter_description"><p>a set.</p></td>
913 <td class="parameter_annotations"> </td>
917 <p class="since">Since 0.9.2</p>
920 <div class="refsect2">
921 <a name="hb-set-union"></a><h3>hb_set_union ()</h3>
922 <pre class="programlisting"><span class="returnvalue">void</span>
923 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>,
924 <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>
925 <div class="refsect3">
926 <a name="id-1.3.3.12.8.28.4"></a><h4>Parameters</h4>
927 <div class="informaltable"><table width="100%" border="0">
929 <col width="150px" class="parameters_name">
930 <col class="parameters_description">
931 <col width="200px" class="parameters_annotations">
934 <td class="parameter_name"><p>set</p></td>
935 <td class="parameter_description"><p>a set.</p></td>
936 <td class="parameter_annotations"> </td>
940 <p class="since">Since 0.9.2</p>
943 <div class="refsect1">
944 <a name="harfbuzz-hb-set.other_details"></a><h2>Types and Values</h2>
945 <div class="refsect2">
946 <a name="hb-set-t"></a><h3>hb_set_t</h3>
947 <pre class="programlisting">typedef struct hb_set_t hb_set_t;
954 Generated by GTK-Doc V1.20</div>