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>hb-set: HarfBuzz Manual</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="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.25.1 (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="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>
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>
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="function_type">
45 <span class="returnvalue">void</span>
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>
52 <td class="function_type">
53 <span class="returnvalue">void</span>
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>
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>
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>
68 <td class="function_type">
69 <span class="returnvalue">void</span>
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>
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> *
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>
84 <td class="function_type">
85 <span class="returnvalue">void</span>
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>
92 <td class="function_type">
93 <span class="returnvalue">void</span>
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>
100 <td class="function_type">
101 <span class="returnvalue">void</span>
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>
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> *
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>
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>
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>
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>
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>
132 <td class="function_type">unsigned <span class="returnvalue">int</span>
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>
139 <td class="function_type">
140 <span class="returnvalue">void</span> *
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>
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>
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>
155 <td class="function_type">
156 <span class="returnvalue">void</span>
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>
163 <td class="function_type">
164 <span class="returnvalue">void</span>
166 <td class="function_name">
167 <a class="link" href="harfbuzz-hb-set.html#hb-set-invert" title="hb_set_invert ()">hb_set_invert</a> <span class="c_punctuation">()</span>
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>
174 <td class="function_name">
175 <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>
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>
182 <td class="function_name">
183 <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>
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>
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>
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>
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>
203 <td class="function_type">
204 <a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
206 <td class="function_name">
207 <a class="link" href="harfbuzz-hb-set.html#hb-set-reference" title="hb_set_reference ()">hb_set_reference</a> <span class="c_punctuation">()</span>
211 <td class="function_type">
212 <span class="returnvalue">void</span>
214 <td class="function_name">
215 <a class="link" href="harfbuzz-hb-set.html#hb-set-set" title="hb_set_set ()">hb_set_set</a> <span class="c_punctuation">()</span>
219 <td class="function_type">
220 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
222 <td class="function_name">
223 <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>
227 <td class="function_type">
228 <span class="returnvalue">void</span>
230 <td class="function_name">
231 <a class="link" href="harfbuzz-hb-set.html#hb-set-subtract" title="hb_set_subtract ()">hb_set_subtract</a> <span class="c_punctuation">()</span>
235 <td class="function_type">
236 <span class="returnvalue">void</span>
238 <td class="function_name">
239 <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>
243 <td class="function_type">
244 <span class="returnvalue">void</span>
246 <td class="function_name">
247 <a class="link" href="harfbuzz-hb-set.html#hb-set-union" title="hb_set_union ()">hb_set_union</a> <span class="c_punctuation">()</span>
253 <a name="hb-set-t"></a><div class="refsect1">
254 <a name="harfbuzz-hb-set.other"></a><h2>Types and Values</h2>
255 <div class="informaltable"><table width="100%" border="0">
257 <col width="150px" class="name">
258 <col class="description">
262 <td class="define_keyword">#define</td>
263 <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>
266 <td class="typedef_keyword">typedef</td>
267 <td class="function_name"><a class="link" href="harfbuzz-hb-set.html#hb-set-t">hb_set_t</a></td>
272 <div class="refsect1">
273 <a name="harfbuzz-hb-set.object-hierarchy"></a><h2>Object Hierarchy</h2>
274 <pre class="screen"> <a href="/home/behdad/.local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
275 <span class="lineart">╰──</span> hb_set_t
278 <div class="refsect1">
279 <a name="harfbuzz-hb-set.description"></a><h2>Description</h2>
281 <div class="refsect1">
282 <a name="harfbuzz-hb-set.functions_details"></a><h2>Functions</h2>
283 <div class="refsect2">
284 <a name="hb-set-add"></a><h3>hb_set_add ()</h3>
285 <pre class="programlisting"><span class="returnvalue">void</span>
286 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>,
287 <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>
288 <div class="refsect3">
289 <a name="hb-set-add.parameters"></a><h4>Parameters</h4>
290 <div class="informaltable"><table width="100%" border="0">
292 <col width="150px" class="parameters_name">
293 <col class="parameters_description">
294 <col width="200px" class="parameters_annotations">
297 <td class="parameter_name"><p>set</p></td>
298 <td class="parameter_description"><p>a set.</p></td>
299 <td class="parameter_annotations"> </td>
303 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
306 <div class="refsect2">
307 <a name="hb-set-add-range"></a><h3>hb_set_add_range ()</h3>
308 <pre class="programlisting"><span class="returnvalue">void</span>
309 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>,
310 <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>,
311 <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>
312 <div class="refsect3">
313 <a name="hb-set-add-range.parameters"></a><h4>Parameters</h4>
314 <div class="informaltable"><table width="100%" border="0">
316 <col width="150px" class="parameters_name">
317 <col class="parameters_description">
318 <col width="200px" class="parameters_annotations">
321 <td class="parameter_name"><p>set</p></td>
322 <td class="parameter_description"><p>a set.</p></td>
323 <td class="parameter_annotations"> </td>
327 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
330 <div class="refsect2">
331 <a name="hb-set-allocation-successful"></a><h3>hb_set_allocation_successful ()</h3>
332 <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>
333 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>
334 <div class="refsect3">
335 <a name="hb-set-allocation-successful.parameters"></a><h4>Parameters</h4>
336 <div class="informaltable"><table width="100%" border="0">
338 <col width="150px" class="parameters_name">
339 <col class="parameters_description">
340 <col width="200px" class="parameters_annotations">
343 <td class="parameter_name"><p>set</p></td>
344 <td class="parameter_description"><p>a set.</p></td>
345 <td class="parameter_annotations"> </td>
349 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
352 <div class="refsect2">
353 <a name="hb-set-clear"></a><h3>hb_set_clear ()</h3>
354 <pre class="programlisting"><span class="returnvalue">void</span>
355 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>
356 <div class="refsect3">
357 <a name="hb-set-clear.parameters"></a><h4>Parameters</h4>
358 <div class="informaltable"><table width="100%" border="0">
360 <col width="150px" class="parameters_name">
361 <col class="parameters_description">
362 <col width="200px" class="parameters_annotations">
365 <td class="parameter_name"><p>set</p></td>
366 <td class="parameter_description"><p>a set.</p></td>
367 <td class="parameter_annotations"> </td>
371 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
374 <div class="refsect2">
375 <a name="hb-set-create"></a><h3>hb_set_create ()</h3>
376 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
377 hb_set_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
378 <p><span class="annotation">[Xconstructor]</span></p>
379 <div class="refsect3">
380 <a name="hb-set-create.returns"></a><h4>Returns</h4>
382 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
384 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
387 <div class="refsect2">
388 <a name="hb-set-del"></a><h3>hb_set_del ()</h3>
389 <pre class="programlisting"><span class="returnvalue">void</span>
390 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>,
391 <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>
392 <div class="refsect3">
393 <a name="hb-set-del.parameters"></a><h4>Parameters</h4>
394 <div class="informaltable"><table width="100%" border="0">
396 <col width="150px" class="parameters_name">
397 <col class="parameters_description">
398 <col width="200px" class="parameters_annotations">
401 <td class="parameter_name"><p>set</p></td>
402 <td class="parameter_description"><p>a set.</p></td>
403 <td class="parameter_annotations"> </td>
407 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
410 <div class="refsect2">
411 <a name="hb-set-del-range"></a><h3>hb_set_del_range ()</h3>
412 <pre class="programlisting"><span class="returnvalue">void</span>
413 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>,
414 <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>,
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> last</code></em>);</pre>
416 <div class="refsect3">
417 <a name="hb-set-del-range.parameters"></a><h4>Parameters</h4>
418 <div class="informaltable"><table width="100%" border="0">
420 <col width="150px" class="parameters_name">
421 <col class="parameters_description">
422 <col width="200px" class="parameters_annotations">
425 <td class="parameter_name"><p>set</p></td>
426 <td class="parameter_description"><p>a set.</p></td>
427 <td class="parameter_annotations"> </td>
431 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
434 <div class="refsect2">
435 <a name="hb-set-destroy"></a><h3>hb_set_destroy ()</h3>
436 <pre class="programlisting"><span class="returnvalue">void</span>
437 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>
438 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
439 <div class="refsect3">
440 <a name="hb-set-destroy.parameters"></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: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></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="hb-set-get-empty.returns"></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: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></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="hb-set-get-max.parameters"></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="hb-set-get-max.returns"></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>
493 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
496 <div class="refsect2">
497 <a name="hb-set-get-min"></a><h3>hb_set_get_min ()</h3>
498 <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>
499 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>
500 <p>Finds the minimum number in the set.</p>
501 <div class="refsect3">
502 <a name="hb-set-get-min.parameters"></a><h4>Parameters</h4>
503 <div class="informaltable"><table width="100%" border="0">
505 <col width="150px" class="parameters_name">
506 <col class="parameters_description">
507 <col width="200px" class="parameters_annotations">
510 <td class="parameter_name"><p>set</p></td>
511 <td class="parameter_description"><p>a set.</p></td>
512 <td class="parameter_annotations"> </td>
516 <div class="refsect3">
517 <a name="hb-set-get-min.returns"></a><h4>Returns</h4>
518 <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>
520 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
523 <div class="refsect2">
524 <a name="hb-set-get-population"></a><h3>hb_set_get_population ()</h3>
525 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
526 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>
527 <p>Returns the number of numbers in the set.</p>
528 <div class="refsect3">
529 <a name="hb-set-get-population.parameters"></a><h4>Parameters</h4>
530 <div class="informaltable"><table width="100%" border="0">
532 <col width="150px" class="parameters_name">
533 <col class="parameters_description">
534 <col width="200px" class="parameters_annotations">
537 <td class="parameter_name"><p>set</p></td>
538 <td class="parameter_description"><p>a set.</p></td>
539 <td class="parameter_annotations"> </td>
543 <div class="refsect3">
544 <a name="hb-set-get-population.returns"></a><h4>Returns</h4>
545 <p> set population.</p>
547 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
550 <div class="refsect2">
551 <a name="hb-set-get-user-data"></a><h3>hb_set_get_user_data ()</h3>
552 <pre class="programlisting"><span class="returnvalue">void</span> *
553 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>,
554 <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>
555 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
556 <div class="refsect3">
557 <a name="hb-set-get-user-data.parameters"></a><h4>Parameters</h4>
558 <div class="informaltable"><table width="100%" border="0">
560 <col width="150px" class="parameters_name">
561 <col class="parameters_description">
562 <col width="200px" class="parameters_annotations">
565 <td class="parameter_name"><p>set</p></td>
566 <td class="parameter_description"><p>a set.</p></td>
567 <td class="parameter_annotations"> </td>
571 <div class="refsect3">
572 <a name="hb-set-get-user-data.returns"></a><h4>Returns</h4>
574 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
576 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
579 <div class="refsect2">
580 <a name="hb-set-has"></a><h3>hb_set_has ()</h3>
581 <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>
582 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>,
583 <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>
584 <div class="refsect3">
585 <a name="hb-set-has.parameters"></a><h4>Parameters</h4>
586 <div class="informaltable"><table width="100%" border="0">
588 <col width="150px" class="parameters_name">
589 <col class="parameters_description">
590 <col width="200px" class="parameters_annotations">
593 <td class="parameter_name"><p>set</p></td>
594 <td class="parameter_description"><p>a set.</p></td>
595 <td class="parameter_annotations"> </td>
599 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
602 <div class="refsect2">
603 <a name="hb-set-intersect"></a><h3>hb_set_intersect ()</h3>
604 <pre class="programlisting"><span class="returnvalue">void</span>
605 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>,
606 <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>
607 <div class="refsect3">
608 <a name="hb-set-intersect.parameters"></a><h4>Parameters</h4>
609 <div class="informaltable"><table width="100%" border="0">
611 <col width="150px" class="parameters_name">
612 <col class="parameters_description">
613 <col width="200px" class="parameters_annotations">
616 <td class="parameter_name"><p>set</p></td>
617 <td class="parameter_description"><p>a set.</p></td>
618 <td class="parameter_annotations"> </td>
622 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
625 <div class="refsect2">
626 <a name="hb-set-invert"></a><h3>hb_set_invert ()</h3>
627 <pre class="programlisting"><span class="returnvalue">void</span>
628 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>
629 <div class="refsect3">
630 <a name="hb-set-invert.parameters"></a><h4>Parameters</h4>
631 <div class="informaltable"><table width="100%" border="0">
633 <col width="150px" class="parameters_name">
634 <col class="parameters_description">
635 <col width="200px" class="parameters_annotations">
638 <td class="parameter_name"><p>set</p></td>
639 <td class="parameter_description"><p>a set.</p></td>
640 <td class="parameter_annotations"> </td>
644 <p class="since">Since: <a class="link" href="api-index-0-9-10.html#api-index-0.9.10">0.9.10</a></p>
647 <div class="refsect2">
648 <a name="hb-set-is-empty"></a><h3>hb_set_is_empty ()</h3>
649 <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>
650 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>
651 <div class="refsect3">
652 <a name="hb-set-is-empty.parameters"></a><h4>Parameters</h4>
653 <div class="informaltable"><table width="100%" border="0">
655 <col width="150px" class="parameters_name">
656 <col class="parameters_description">
657 <col width="200px" class="parameters_annotations">
660 <td class="parameter_name"><p>set</p></td>
661 <td class="parameter_description"><p>a set.</p></td>
662 <td class="parameter_annotations"> </td>
666 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
669 <div class="refsect2">
670 <a name="hb-set-is-equal"></a><h3>hb_set_is_equal ()</h3>
671 <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>
672 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>,
673 <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>
674 <div class="refsect3">
675 <a name="hb-set-is-equal.parameters"></a><h4>Parameters</h4>
676 <div class="informaltable"><table width="100%" border="0">
678 <col width="150px" class="parameters_name">
679 <col class="parameters_description">
680 <col width="200px" class="parameters_annotations">
683 <td class="parameter_name"><p>set</p></td>
684 <td class="parameter_description"><p>a set.</p></td>
685 <td class="parameter_annotations"> </td>
689 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
692 <div class="refsect2">
693 <a name="hb-set-next"></a><h3>hb_set_next ()</h3>
694 <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>
695 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>,
696 <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>
697 <div class="refsect3">
698 <a name="hb-set-next.parameters"></a><h4>Parameters</h4>
699 <div class="informaltable"><table width="100%" border="0">
701 <col width="150px" class="parameters_name">
702 <col class="parameters_description">
703 <col width="200px" class="parameters_annotations">
707 <td class="parameter_name"><p>set</p></td>
708 <td class="parameter_description"><p>a set.</p></td>
709 <td class="parameter_annotations"> </td>
712 <td class="parameter_name"><p>codepoint</p></td>
713 <td class="parameter_description"><p>. </p></td>
714 <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>
719 <div class="refsect3">
720 <a name="hb-set-next.returns"></a><h4>Returns</h4>
721 <p> whether there was a next value.</p>
723 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
726 <div class="refsect2">
727 <a name="hb-set-next-range"></a><h3>hb_set_next_range ()</h3>
728 <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>
729 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>,
730 <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>,
731 <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>
732 <p>Gets the next consecutive range of numbers in <em class="parameter"><code>set</code></em>
734 are greater than current value of <em class="parameter"><code>last</code></em>
736 <div class="refsect3">
737 <a name="hb-set-next-range.parameters"></a><h4>Parameters</h4>
738 <div class="informaltable"><table width="100%" border="0">
740 <col width="150px" class="parameters_name">
741 <col class="parameters_description">
742 <col width="200px" class="parameters_annotations">
746 <td class="parameter_name"><p>set</p></td>
747 <td class="parameter_description"><p>a set.</p></td>
748 <td class="parameter_annotations"> </td>
751 <td class="parameter_name"><p>first</p></td>
752 <td class="parameter_description"><p> output first codepoint in the range. </p></td>
753 <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>
756 <td class="parameter_name"><p>last</p></td>
757 <td class="parameter_description"><p> input current last and output last codepoint in the range. </p></td>
758 <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>
763 <div class="refsect3">
764 <a name="hb-set-next-range.returns"></a><h4>Returns</h4>
765 <p> whether there was a next range.</p>
767 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
770 <div class="refsect2">
771 <a name="hb-set-reference"></a><h3>hb_set_reference ()</h3>
772 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t"><span class="returnvalue">hb_set_t</span></a> *
773 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>
774 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
775 <div class="refsect3">
776 <a name="hb-set-reference.parameters"></a><h4>Parameters</h4>
777 <div class="informaltable"><table width="100%" border="0">
779 <col width="150px" class="parameters_name">
780 <col class="parameters_description">
781 <col width="200px" class="parameters_annotations">
784 <td class="parameter_name"><p>set</p></td>
785 <td class="parameter_description"><p>a set.</p></td>
786 <td class="parameter_annotations"> </td>
790 <div class="refsect3">
791 <a name="hb-set-reference.returns"></a><h4>Returns</h4>
793 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
795 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
798 <div class="refsect2">
799 <a name="hb-set-set"></a><h3>hb_set_set ()</h3>
800 <pre class="programlisting"><span class="returnvalue">void</span>
801 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>,
802 <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>
803 <div class="refsect3">
804 <a name="hb-set-set.parameters"></a><h4>Parameters</h4>
805 <div class="informaltable"><table width="100%" border="0">
807 <col width="150px" class="parameters_name">
808 <col class="parameters_description">
809 <col width="200px" class="parameters_annotations">
812 <td class="parameter_name"><p>set</p></td>
813 <td class="parameter_description"><p>a set.</p></td>
814 <td class="parameter_annotations"> </td>
818 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
821 <div class="refsect2">
822 <a name="hb-set-set-user-data"></a><h3>hb_set_set_user_data ()</h3>
823 <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>
824 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>,
825 <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>,
826 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
827 <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>,
828 <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>
829 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
830 <div class="refsect3">
831 <a name="hb-set-set-user-data.parameters"></a><h4>Parameters</h4>
832 <div class="informaltable"><table width="100%" border="0">
834 <col width="150px" class="parameters_name">
835 <col class="parameters_description">
836 <col width="200px" class="parameters_annotations">
839 <td class="parameter_name"><p>set</p></td>
840 <td class="parameter_description"><p>a set.</p></td>
841 <td class="parameter_annotations"> </td>
845 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
848 <div class="refsect2">
849 <a name="hb-set-subtract"></a><h3>hb_set_subtract ()</h3>
850 <pre class="programlisting"><span class="returnvalue">void</span>
851 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>,
852 <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>
853 <div class="refsect3">
854 <a name="hb-set-subtract.parameters"></a><h4>Parameters</h4>
855 <div class="informaltable"><table width="100%" border="0">
857 <col width="150px" class="parameters_name">
858 <col class="parameters_description">
859 <col width="200px" class="parameters_annotations">
862 <td class="parameter_name"><p>set</p></td>
863 <td class="parameter_description"><p>a set.</p></td>
864 <td class="parameter_annotations"> </td>
868 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
871 <div class="refsect2">
872 <a name="hb-set-symmetric-difference"></a><h3>hb_set_symmetric_difference ()</h3>
873 <pre class="programlisting"><span class="returnvalue">void</span>
874 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>,
875 <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>
876 <div class="refsect3">
877 <a name="hb-set-symmetric-difference.parameters"></a><h4>Parameters</h4>
878 <div class="informaltable"><table width="100%" border="0">
880 <col width="150px" class="parameters_name">
881 <col class="parameters_description">
882 <col width="200px" class="parameters_annotations">
885 <td class="parameter_name"><p>set</p></td>
886 <td class="parameter_description"><p>a set.</p></td>
887 <td class="parameter_annotations"> </td>
891 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
894 <div class="refsect2">
895 <a name="hb-set-union"></a><h3>hb_set_union ()</h3>
896 <pre class="programlisting"><span class="returnvalue">void</span>
897 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>,
898 <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>
899 <div class="refsect3">
900 <a name="hb-set-union.parameters"></a><h4>Parameters</h4>
901 <div class="informaltable"><table width="100%" border="0">
903 <col width="150px" class="parameters_name">
904 <col class="parameters_description">
905 <col width="200px" class="parameters_annotations">
908 <td class="parameter_name"><p>set</p></td>
909 <td class="parameter_description"><p>a set.</p></td>
910 <td class="parameter_annotations"> </td>
914 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
917 <div class="refsect1">
918 <a name="harfbuzz-hb-set.other_details"></a><h2>Types and Values</h2>
919 <div class="refsect2">
920 <a name="HB-SET-VALUE-INVALID:CAPS"></a><h3>HB_SET_VALUE_INVALID</h3>
921 <pre class="programlisting">#define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
925 <div class="refsect2">
926 <a name="hb-set-t"></a><h3>hb_set_t</h3>
927 <pre class="programlisting">typedef struct hb_set_t hb_set_t;
933 <hr>Generated by GTK-Doc V1.25.1</div>