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 Vsnapshot">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="ch12.html" title="Core API">
9 <link rel="prev" href="harfbuzz-hb-map.html" title="hb-map">
10 <link rel="next" href="harfbuzz-hb-shape-plan.html" title="hb-shape-plan">
11 <meta name="generator" content="GTK-Doc V1.32.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>
20 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21 <td><a accesskey="u" href="ch12.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22 <td><a accesskey="p" href="harfbuzz-hb-map.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23 <td><a accesskey="n" href="harfbuzz-hb-shape-plan.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25 <div class="refentry">
26 <a name="harfbuzz-hb-set"></a><div class="titlepage"></div>
27 <div class="refnamediv"><table width="100%"><tr>
29 <h2><span class="refentrytitle"><a name="harfbuzz-hb-set.top_of_page"></a>hb-set</span></h2>
30 <p>hb-set — Object representing a set of integers</p>
32 <td class="gallery_image" valign="top" align="right"></td>
34 <div class="refsect1">
35 <a name="harfbuzz-hb-set.functions"></a><h2>Functions</h2>
36 <div class="informaltable"><table class="informaltable" width="100%" border="0">
38 <col width="150px" class="functions_proto_type">
39 <col class="functions_proto_name">
43 <td class="function_type">
44 <span class="returnvalue">void</span>
46 <td class="function_name">
47 <a class="link" href="harfbuzz-hb-set.html#hb-set-add" title="hb_set_add ()">hb_set_add</a> <span class="c_punctuation">()</span>
51 <td class="function_type">
52 <span class="returnvalue">void</span>
54 <td class="function_name">
55 <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>
59 <td class="function_type">
60 <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 class="function_name">
63 <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>
67 <td class="function_type">
68 <span class="returnvalue">void</span>
70 <td class="function_name">
71 <a class="link" href="harfbuzz-hb-set.html#hb-set-clear" title="hb_set_clear ()">hb_set_clear</a> <span class="c_punctuation">()</span>
75 <td class="function_type">
76 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
78 <td class="function_name">
79 <a class="link" href="harfbuzz-hb-set.html#hb-set-create" title="hb_set_create ()">hb_set_create</a> <span class="c_punctuation">()</span>
83 <td class="function_type">
84 <span class="returnvalue">void</span>
86 <td class="function_name">
87 <a class="link" href="harfbuzz-hb-set.html#hb-set-del" title="hb_set_del ()">hb_set_del</a> <span class="c_punctuation">()</span>
91 <td class="function_type">
92 <span class="returnvalue">void</span>
94 <td class="function_name">
95 <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>
99 <td class="function_type">
100 <span class="returnvalue">void</span>
102 <td class="function_name">
103 <a class="link" href="harfbuzz-hb-set.html#hb-set-destroy" title="hb_set_destroy ()">hb_set_destroy</a> <span class="c_punctuation">()</span>
107 <td class="function_type">
108 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
110 <td class="function_name">
111 <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>
115 <td class="function_type">
116 <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 class="function_name">
119 <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>
123 <td class="function_type">
124 <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 class="function_name">
127 <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>
131 <td class="function_type">unsigned <span class="returnvalue">int</span>
133 <td class="function_name">
134 <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>
138 <td class="function_type">
139 <span class="returnvalue">void</span> *
141 <td class="function_name">
142 <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>
146 <td class="function_type">
147 <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 class="function_name">
150 <a class="link" href="harfbuzz-hb-set.html#hb-set-has" title="hb_set_has ()">hb_set_has</a> <span class="c_punctuation">()</span>
154 <td class="function_type">
155 <span class="returnvalue">void</span>
157 <td class="function_name">
158 <a class="link" href="harfbuzz-hb-set.html#hb-set-intersect" title="hb_set_intersect ()">hb_set_intersect</a> <span class="c_punctuation">()</span>
162 <td class="function_type">
163 <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 class="function_name">
166 <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>
170 <td class="function_type">
171 <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 class="function_name">
174 <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>
178 <td class="function_type">
179 <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 class="function_name">
182 <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>
186 <td class="function_type">
187 <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 class="function_name">
190 <a class="link" href="harfbuzz-hb-set.html#hb-set-next" title="hb_set_next ()">hb_set_next</a> <span class="c_punctuation">()</span>
194 <td class="function_type">
195 <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 class="function_name">
198 <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>
202 <td class="function_type">
203 <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 class="function_name">
206 <a class="link" href="harfbuzz-hb-set.html#hb-set-previous" title="hb_set_previous ()">hb_set_previous</a> <span class="c_punctuation">()</span>
210 <td class="function_type">
211 <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 class="function_name">
214 <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>
218 <td class="function_type">
219 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
221 <td class="function_name">
222 <a class="link" href="harfbuzz-hb-set.html#hb-set-reference" title="hb_set_reference ()">hb_set_reference</a> <span class="c_punctuation">()</span>
226 <td class="function_type">
227 <span class="returnvalue">void</span>
229 <td class="function_name">
230 <a class="link" href="harfbuzz-hb-set.html#hb-set-set" title="hb_set_set ()">hb_set_set</a> <span class="c_punctuation">()</span>
234 <td class="function_type">
235 <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 class="function_name">
238 <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>
242 <td class="function_type">
243 <span class="returnvalue">void</span>
245 <td class="function_name">
246 <a class="link" href="harfbuzz-hb-set.html#hb-set-subtract" title="hb_set_subtract ()">hb_set_subtract</a> <span class="c_punctuation">()</span>
250 <td class="function_type">
251 <span class="returnvalue">void</span>
253 <td class="function_name">
254 <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>
258 <td class="function_type">
259 <span class="returnvalue">void</span>
261 <td class="function_name">
262 <a class="link" href="harfbuzz-hb-set.html#hb-set-union" title="hb_set_union ()">hb_set_union</a> <span class="c_punctuation">()</span>
268 <div class="refsect1">
269 <a name="harfbuzz-hb-set.other"></a><h2>Types and Values</h2>
270 <div class="informaltable"><table class="informaltable" width="100%" border="0">
272 <col width="150px" class="other_proto_type">
273 <col class="other_proto_name">
277 <td class="define_keyword">#define</td>
278 <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>
281 <td class="typedef_keyword">typedef</td>
282 <td class="function_name"><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t">hb_set_t</a></td>
287 <div class="refsect1">
288 <a name="harfbuzz-hb-set.includes"></a><h2>Includes</h2>
289 <pre class="synopsis">#include <hb.h>
292 <div class="refsect1">
293 <a name="harfbuzz-hb-set.description"></a><h2>Description</h2>
294 <p>Set objects represent a mathematical set of integer values. They are
295 used in non-shaping API to query certain set of characters or glyphs,
296 or other integer values.</p>
298 <div class="refsect1">
299 <a name="harfbuzz-hb-set.functions_details"></a><h2>Functions</h2>
300 <div class="refsect2">
301 <a name="hb-set-add"></a><h3>hb_set_add ()</h3>
302 <pre class="programlisting"><span class="returnvalue">void</span>
303 hb_set_add (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
304 <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>
305 <div class="refsect3">
306 <a name="hb-set-add.parameters"></a><h4>Parameters</h4>
307 <div class="informaltable"><table class="informaltable" width="100%" border="0">
309 <col width="150px" class="parameters_name">
310 <col class="parameters_description">
311 <col width="200px" class="parameters_annotations">
314 <td class="parameter_name"><p>set</p></td>
315 <td class="parameter_description"><p>a set.</p></td>
316 <td class="parameter_annotations"> </td>
320 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
323 <div class="refsect2">
324 <a name="hb-set-add-range"></a><h3>hb_set_add_range ()</h3>
325 <pre class="programlisting"><span class="returnvalue">void</span>
326 hb_set_add_range (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</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> first</code></em>,
328 <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>
329 <div class="refsect3">
330 <a name="hb-set-add-range.parameters"></a><h4>Parameters</h4>
331 <div class="informaltable"><table class="informaltable" width="100%" border="0">
333 <col width="150px" class="parameters_name">
334 <col class="parameters_description">
335 <col width="200px" class="parameters_annotations">
338 <td class="parameter_name"><p>set</p></td>
339 <td class="parameter_description"><p>a set.</p></td>
340 <td class="parameter_annotations"> </td>
344 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
347 <div class="refsect2">
348 <a name="hb-set-allocation-successful"></a><h3>hb_set_allocation_successful ()</h3>
349 <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>
350 hb_set_allocation_successful (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
351 <div class="refsect3">
352 <a name="hb-set-allocation-successful.parameters"></a><h4>Parameters</h4>
353 <div class="informaltable"><table class="informaltable" width="100%" border="0">
355 <col width="150px" class="parameters_name">
356 <col class="parameters_description">
357 <col width="200px" class="parameters_annotations">
360 <td class="parameter_name"><p>set</p></td>
361 <td class="parameter_description"><p>a set.</p></td>
362 <td class="parameter_annotations"> </td>
366 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
369 <div class="refsect2">
370 <a name="hb-set-clear"></a><h3>hb_set_clear ()</h3>
371 <pre class="programlisting"><span class="returnvalue">void</span>
372 hb_set_clear (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
373 <div class="refsect3">
374 <a name="hb-set-clear.parameters"></a><h4>Parameters</h4>
375 <div class="informaltable"><table class="informaltable" width="100%" border="0">
377 <col width="150px" class="parameters_name">
378 <col class="parameters_description">
379 <col width="200px" class="parameters_annotations">
382 <td class="parameter_name"><p>set</p></td>
383 <td class="parameter_description"><p>a set.</p></td>
384 <td class="parameter_annotations"> </td>
388 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
391 <div class="refsect2">
392 <a name="hb-set-create"></a><h3>hb_set_create ()</h3>
393 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
394 hb_set_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
395 <p><span class="annotation">[Xconstructor]</span></p>
396 <div class="refsect3">
397 <a name="hb-set-create.returns"></a><h4>Returns</h4>
399 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
401 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
404 <div class="refsect2">
405 <a name="hb-set-del"></a><h3>hb_set_del ()</h3>
406 <pre class="programlisting"><span class="returnvalue">void</span>
407 hb_set_del (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
408 <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>
409 <div class="refsect3">
410 <a name="hb-set-del.parameters"></a><h4>Parameters</h4>
411 <div class="informaltable"><table class="informaltable" width="100%" border="0">
413 <col width="150px" class="parameters_name">
414 <col class="parameters_description">
415 <col width="200px" class="parameters_annotations">
418 <td class="parameter_name"><p>set</p></td>
419 <td class="parameter_description"><p>a set.</p></td>
420 <td class="parameter_annotations"> </td>
424 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
427 <div class="refsect2">
428 <a name="hb-set-del-range"></a><h3>hb_set_del_range ()</h3>
429 <pre class="programlisting"><span class="returnvalue">void</span>
430 hb_set_del_range (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</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> first</code></em>,
432 <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>
433 <div class="refsect3">
434 <a name="hb-set-del-range.parameters"></a><h4>Parameters</h4>
435 <div class="informaltable"><table class="informaltable" width="100%" border="0">
437 <col width="150px" class="parameters_name">
438 <col class="parameters_description">
439 <col width="200px" class="parameters_annotations">
442 <td class="parameter_name"><p>set</p></td>
443 <td class="parameter_description"><p>a set.</p></td>
444 <td class="parameter_annotations"> </td>
448 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
451 <div class="refsect2">
452 <a name="hb-set-destroy"></a><h3>hb_set_destroy ()</h3>
453 <pre class="programlisting"><span class="returnvalue">void</span>
454 hb_set_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
455 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
456 <div class="refsect3">
457 <a name="hb-set-destroy.parameters"></a><h4>Parameters</h4>
458 <div class="informaltable"><table class="informaltable" width="100%" border="0">
460 <col width="150px" class="parameters_name">
461 <col class="parameters_description">
462 <col width="200px" class="parameters_annotations">
465 <td class="parameter_name"><p>set</p></td>
466 <td class="parameter_description"><p>a set.</p></td>
467 <td class="parameter_annotations"> </td>
471 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
474 <div class="refsect2">
475 <a name="hb-set-get-empty"></a><h3>hb_set_get_empty ()</h3>
476 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
477 hb_set_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
478 <div class="refsect3">
479 <a name="hb-set-get-empty.returns"></a><h4>Returns</h4>
481 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
483 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
486 <div class="refsect2">
487 <a name="hb-set-get-max"></a><h3>hb_set_get_max ()</h3>
488 <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>
489 hb_set_get_max (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
490 <p>Finds the maximum number in the set.</p>
491 <div class="refsect3">
492 <a name="hb-set-get-max.parameters"></a><h4>Parameters</h4>
493 <div class="informaltable"><table class="informaltable" width="100%" border="0">
495 <col width="150px" class="parameters_name">
496 <col class="parameters_description">
497 <col width="200px" class="parameters_annotations">
500 <td class="parameter_name"><p>set</p></td>
501 <td class="parameter_description"><p>a set.</p></td>
502 <td class="parameter_annotations"> </td>
506 <div class="refsect3">
507 <a name="hb-set-get-max.returns"></a><h4>Returns</h4>
508 <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>
510 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
513 <div class="refsect2">
514 <a name="hb-set-get-min"></a><h3>hb_set_get_min ()</h3>
515 <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>
516 hb_set_get_min (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
517 <p>Finds the minimum number in the set.</p>
518 <div class="refsect3">
519 <a name="hb-set-get-min.parameters"></a><h4>Parameters</h4>
520 <div class="informaltable"><table class="informaltable" width="100%" border="0">
522 <col width="150px" class="parameters_name">
523 <col class="parameters_description">
524 <col width="200px" class="parameters_annotations">
527 <td class="parameter_name"><p>set</p></td>
528 <td class="parameter_description"><p>a set.</p></td>
529 <td class="parameter_annotations"> </td>
533 <div class="refsect3">
534 <a name="hb-set-get-min.returns"></a><h4>Returns</h4>
535 <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>
537 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
540 <div class="refsect2">
541 <a name="hb-set-get-population"></a><h3>hb_set_get_population ()</h3>
542 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
543 hb_set_get_population (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
544 <p>Returns the number of numbers in the set.</p>
545 <div class="refsect3">
546 <a name="hb-set-get-population.parameters"></a><h4>Parameters</h4>
547 <div class="informaltable"><table class="informaltable" width="100%" border="0">
549 <col width="150px" class="parameters_name">
550 <col class="parameters_description">
551 <col width="200px" class="parameters_annotations">
554 <td class="parameter_name"><p>set</p></td>
555 <td class="parameter_description"><p>a set.</p></td>
556 <td class="parameter_annotations"> </td>
560 <div class="refsect3">
561 <a name="hb-set-get-population.returns"></a><h4>Returns</h4>
562 <p> set population.</p>
564 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
567 <div class="refsect2">
568 <a name="hb-set-get-user-data"></a><h3>hb_set_get_user_data ()</h3>
569 <pre class="programlisting"><span class="returnvalue">void</span> *
570 hb_set_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
571 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t" title="hb_user_data_key_t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);</pre>
572 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
573 <div class="refsect3">
574 <a name="hb-set-get-user-data.parameters"></a><h4>Parameters</h4>
575 <div class="informaltable"><table class="informaltable" width="100%" border="0">
577 <col width="150px" class="parameters_name">
578 <col class="parameters_description">
579 <col width="200px" class="parameters_annotations">
582 <td class="parameter_name"><p>set</p></td>
583 <td class="parameter_description"><p>a set.</p></td>
584 <td class="parameter_annotations"> </td>
588 <div class="refsect3">
589 <a name="hb-set-get-user-data.returns"></a><h4>Returns</h4>
591 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
593 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
596 <div class="refsect2">
597 <a name="hb-set-has"></a><h3>hb_set_has ()</h3>
598 <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>
599 hb_set_has (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
600 <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>
601 <div class="refsect3">
602 <a name="hb-set-has.parameters"></a><h4>Parameters</h4>
603 <div class="informaltable"><table class="informaltable" width="100%" border="0">
605 <col width="150px" class="parameters_name">
606 <col class="parameters_description">
607 <col width="200px" class="parameters_annotations">
610 <td class="parameter_name"><p>set</p></td>
611 <td class="parameter_description"><p>a set.</p></td>
612 <td class="parameter_annotations"> </td>
616 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
619 <div class="refsect2">
620 <a name="hb-set-intersect"></a><h3>hb_set_intersect ()</h3>
621 <pre class="programlisting"><span class="returnvalue">void</span>
622 hb_set_intersect (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
623 <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
624 <div class="refsect3">
625 <a name="hb-set-intersect.parameters"></a><h4>Parameters</h4>
626 <div class="informaltable"><table class="informaltable" width="100%" border="0">
628 <col width="150px" class="parameters_name">
629 <col class="parameters_description">
630 <col width="200px" class="parameters_annotations">
633 <td class="parameter_name"><p>set</p></td>
634 <td class="parameter_description"><p>a set.</p></td>
635 <td class="parameter_annotations"> </td>
639 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
642 <div class="refsect2">
643 <a name="hb-set-is-empty"></a><h3>hb_set_is_empty ()</h3>
644 <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>
645 hb_set_is_empty (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
646 <div class="refsect3">
647 <a name="hb-set-is-empty.parameters"></a><h4>Parameters</h4>
648 <div class="informaltable"><table class="informaltable" width="100%" border="0">
650 <col width="150px" class="parameters_name">
651 <col class="parameters_description">
652 <col width="200px" class="parameters_annotations">
655 <td class="parameter_name"><p>set</p></td>
656 <td class="parameter_description"><p>a set.</p></td>
657 <td class="parameter_annotations"> </td>
661 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
664 <div class="refsect2">
665 <a name="hb-set-is-equal"></a><h3>hb_set_is_equal ()</h3>
666 <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>
667 hb_set_is_equal (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
668 <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
669 <div class="refsect3">
670 <a name="hb-set-is-equal.parameters"></a><h4>Parameters</h4>
671 <div class="informaltable"><table class="informaltable" width="100%" border="0">
673 <col width="150px" class="parameters_name">
674 <col class="parameters_description">
675 <col width="200px" class="parameters_annotations">
679 <td class="parameter_name"><p>set</p></td>
680 <td class="parameter_description"><p>a set.</p></td>
681 <td class="parameter_annotations"> </td>
684 <td class="parameter_name"><p>other</p></td>
685 <td class="parameter_description"><p>other set.</p></td>
686 <td class="parameter_annotations"> </td>
691 <div class="refsect3">
692 <a name="hb-set-is-equal.returns"></a><h4>Returns</h4>
693 <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two sets are equal, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
695 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
698 <div class="refsect2">
699 <a name="hb-set-is-subset"></a><h3>hb_set_is_subset ()</h3>
700 <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>
701 hb_set_is_subset (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
702 <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *larger_set</code></em>);</pre>
703 <div class="refsect3">
704 <a name="hb-set-is-subset.parameters"></a><h4>Parameters</h4>
705 <div class="informaltable"><table class="informaltable" width="100%" border="0">
707 <col width="150px" class="parameters_name">
708 <col class="parameters_description">
709 <col width="200px" class="parameters_annotations">
713 <td class="parameter_name"><p>set</p></td>
714 <td class="parameter_description"><p>a set.</p></td>
715 <td class="parameter_annotations"> </td>
718 <td class="parameter_name"><p>larger_set</p></td>
719 <td class="parameter_description"><p>other set.</p></td>
720 <td class="parameter_annotations"> </td>
725 <div class="refsect3">
726 <a name="hb-set-is-subset.returns"></a><h4>Returns</h4>
727 <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>set</code></em>
728 is a subset of (or equal to) <em class="parameter"><code>larger_set</code></em>
729 , <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
731 <p class="since">Since: <a class="link" href="api-index-1-8-1.html#api-index-1.8.1">1.8.1</a></p>
734 <div class="refsect2">
735 <a name="hb-set-next"></a><h3>hb_set_next ()</h3>
736 <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>
737 hb_set_next (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
738 <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>
739 <p>Gets the next number in <em class="parameter"><code>set</code></em>
740 that is greater than current value of <em class="parameter"><code>codepoint</code></em>
742 <p>Set <em class="parameter"><code>codepoint</code></em>
743 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>
744 <div class="refsect3">
745 <a name="hb-set-next.parameters"></a><h4>Parameters</h4>
746 <div class="informaltable"><table class="informaltable" width="100%" border="0">
748 <col width="150px" class="parameters_name">
749 <col class="parameters_description">
750 <col width="200px" class="parameters_annotations">
754 <td class="parameter_name"><p>set</p></td>
755 <td class="parameter_description"><p>a set.</p></td>
756 <td class="parameter_annotations"> </td>
759 <td class="parameter_name"><p>codepoint</p></td>
760 <td class="parameter_description"><p>. </p></td>
761 <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>
766 <div class="refsect3">
767 <a name="hb-set-next.returns"></a><h4>Returns</h4>
768 <p> whether there was a next value.</p>
770 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
773 <div class="refsect2">
774 <a name="hb-set-next-range"></a><h3>hb_set_next_range ()</h3>
775 <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>
776 hb_set_next_range (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</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> *first</code></em>,
778 <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>
779 <p>Gets the next consecutive range of numbers in <em class="parameter"><code>set</code></em>
781 are greater than current value of <em class="parameter"><code>last</code></em>
783 <p>Set <em class="parameter"><code>last</code></em>
784 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>
785 <div class="refsect3">
786 <a name="hb-set-next-range.parameters"></a><h4>Parameters</h4>
787 <div class="informaltable"><table class="informaltable" width="100%" border="0">
789 <col width="150px" class="parameters_name">
790 <col class="parameters_description">
791 <col width="200px" class="parameters_annotations">
795 <td class="parameter_name"><p>set</p></td>
796 <td class="parameter_description"><p>a set.</p></td>
797 <td class="parameter_annotations"> </td>
800 <td class="parameter_name"><p>first</p></td>
801 <td class="parameter_description"><p>output first codepoint in the range. </p></td>
802 <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>
805 <td class="parameter_name"><p>last</p></td>
806 <td class="parameter_description"><p>input current last and output last codepoint in the range. </p></td>
807 <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>
812 <div class="refsect3">
813 <a name="hb-set-next-range.returns"></a><h4>Returns</h4>
814 <p> whether there was a next range.</p>
816 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
819 <div class="refsect2">
820 <a name="hb-set-previous"></a><h3>hb_set_previous ()</h3>
821 <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>
822 hb_set_previous (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
823 <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>
824 <p>Gets the previous number in <em class="parameter"><code>set</code></em>
825 that is lower than current value of <em class="parameter"><code>codepoint</code></em>
827 <p>Set <em class="parameter"><code>codepoint</code></em>
828 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>
829 <div class="refsect3">
830 <a name="hb-set-previous.parameters"></a><h4>Parameters</h4>
831 <div class="informaltable"><table class="informaltable" width="100%" border="0">
833 <col width="150px" class="parameters_name">
834 <col class="parameters_description">
835 <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>
844 <td class="parameter_name"><p>codepoint</p></td>
845 <td class="parameter_description"><p>. </p></td>
846 <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>
851 <div class="refsect3">
852 <a name="hb-set-previous.returns"></a><h4>Returns</h4>
853 <p> whether there was a previous value.</p>
855 <p class="since">Since: <a class="link" href="api-index-1-8-0.html#api-index-1.8.0">1.8.0</a></p>
858 <div class="refsect2">
859 <a name="hb-set-previous-range"></a><h3>hb_set_previous_range ()</h3>
860 <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>
861 hb_set_previous_range (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</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> *first</code></em>,
863 <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>
864 <p>Gets the previous consecutive range of numbers in <em class="parameter"><code>set</code></em>
866 are less than current value of <em class="parameter"><code>first</code></em>
868 <p>Set <em class="parameter"><code>first</code></em>
869 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>
870 <div class="refsect3">
871 <a name="hb-set-previous-range.parameters"></a><h4>Parameters</h4>
872 <div class="informaltable"><table class="informaltable" width="100%" border="0">
874 <col width="150px" class="parameters_name">
875 <col class="parameters_description">
876 <col width="200px" class="parameters_annotations">
880 <td class="parameter_name"><p>set</p></td>
881 <td class="parameter_description"><p>a set.</p></td>
882 <td class="parameter_annotations"> </td>
885 <td class="parameter_name"><p>first</p></td>
886 <td class="parameter_description"><p>input current first and output first codepoint in the range. </p></td>
887 <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>
890 <td class="parameter_name"><p>last</p></td>
891 <td class="parameter_description"><p>output last codepoint in the range. </p></td>
892 <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>
897 <div class="refsect3">
898 <a name="hb-set-previous-range.returns"></a><h4>Returns</h4>
899 <p> whether there was a previous range.</p>
901 <p class="since">Since: <a class="link" href="api-index-1-8-0.html#api-index-1.8.0">1.8.0</a></p>
904 <div class="refsect2">
905 <a name="hb-set-reference"></a><h3>hb_set_reference ()</h3>
906 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
907 hb_set_reference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
908 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
909 <div class="refsect3">
910 <a name="hb-set-reference.parameters"></a><h4>Parameters</h4>
911 <div class="informaltable"><table class="informaltable" width="100%" border="0">
913 <col width="150px" class="parameters_name">
914 <col class="parameters_description">
915 <col width="200px" class="parameters_annotations">
918 <td class="parameter_name"><p>set</p></td>
919 <td class="parameter_description"><p>a set.</p></td>
920 <td class="parameter_annotations"> </td>
924 <div class="refsect3">
925 <a name="hb-set-reference.returns"></a><h4>Returns</h4>
927 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
929 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
932 <div class="refsect2">
933 <a name="hb-set-set"></a><h3>hb_set_set ()</h3>
934 <pre class="programlisting"><span class="returnvalue">void</span>
935 hb_set_set (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
936 <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
937 <div class="refsect3">
938 <a name="hb-set-set.parameters"></a><h4>Parameters</h4>
939 <div class="informaltable"><table class="informaltable" width="100%" border="0">
941 <col width="150px" class="parameters_name">
942 <col class="parameters_description">
943 <col width="200px" class="parameters_annotations">
946 <td class="parameter_name"><p>set</p></td>
947 <td class="parameter_description"><p>a set.</p></td>
948 <td class="parameter_annotations"> </td>
952 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
955 <div class="refsect2">
956 <a name="hb-set-set-user-data"></a><h3>hb_set_set_user_data ()</h3>
957 <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>
958 hb_set_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
959 <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t" title="hb_user_data_key_t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
960 <em class="parameter"><code><span class="type">void</span> *data</code></em>,
961 <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>,
962 <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>
963 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
964 <div class="refsect3">
965 <a name="hb-set-set-user-data.parameters"></a><h4>Parameters</h4>
966 <div class="informaltable"><table class="informaltable" width="100%" border="0">
968 <col width="150px" class="parameters_name">
969 <col class="parameters_description">
970 <col width="200px" class="parameters_annotations">
973 <td class="parameter_name"><p>set</p></td>
974 <td class="parameter_description"><p>a set.</p></td>
975 <td class="parameter_annotations"> </td>
979 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
982 <div class="refsect2">
983 <a name="hb-set-subtract"></a><h3>hb_set_subtract ()</h3>
984 <pre class="programlisting"><span class="returnvalue">void</span>
985 hb_set_subtract (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
986 <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
987 <div class="refsect3">
988 <a name="hb-set-subtract.parameters"></a><h4>Parameters</h4>
989 <div class="informaltable"><table class="informaltable" width="100%" border="0">
991 <col width="150px" class="parameters_name">
992 <col class="parameters_description">
993 <col width="200px" class="parameters_annotations">
996 <td class="parameter_name"><p>set</p></td>
997 <td class="parameter_description"><p>a set.</p></td>
998 <td class="parameter_annotations"> </td>
1002 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1005 <div class="refsect2">
1006 <a name="hb-set-symmetric-difference"></a><h3>hb_set_symmetric_difference ()</h3>
1007 <pre class="programlisting"><span class="returnvalue">void</span>
1008 hb_set_symmetric_difference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
1009 <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
1010 <div class="refsect3">
1011 <a name="hb-set-symmetric-difference.parameters"></a><h4>Parameters</h4>
1012 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1014 <col width="150px" class="parameters_name">
1015 <col class="parameters_description">
1016 <col width="200px" class="parameters_annotations">
1019 <td class="parameter_name"><p>set</p></td>
1020 <td class="parameter_description"><p>a set.</p></td>
1021 <td class="parameter_annotations"> </td>
1025 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1028 <div class="refsect2">
1029 <a name="hb-set-union"></a><h3>hb_set_union ()</h3>
1030 <pre class="programlisting"><span class="returnvalue">void</span>
1031 hb_set_union (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
1032 <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
1033 <div class="refsect3">
1034 <a name="hb-set-union.parameters"></a><h4>Parameters</h4>
1035 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1037 <col width="150px" class="parameters_name">
1038 <col class="parameters_description">
1039 <col width="200px" class="parameters_annotations">
1042 <td class="parameter_name"><p>set</p></td>
1043 <td class="parameter_description"><p>a set.</p></td>
1044 <td class="parameter_annotations"> </td>
1048 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1051 <div class="refsect1">
1052 <a name="harfbuzz-hb-set.other_details"></a><h2>Types and Values</h2>
1053 <div class="refsect2">
1054 <a name="HB-SET-VALUE-INVALID:CAPS"></a><h3>HB_SET_VALUE_INVALID</h3>
1055 <pre class="programlisting">#define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
1059 <div class="refsect2">
1060 <a name="hb-set-t"></a><h3>hb_set_t</h3>
1061 <pre class="programlisting">typedef struct hb_set_t hb_set_t;
1066 <div class="footer">
1067 <hr>Generated by GTK-Doc V1.32.1</div>