Imported Upstream version 3.4.0
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-set.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>hb-set: HarfBuzz Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="core-api.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 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18                   <a href="#harfbuzz-hb-set.description" class="shortcut">Description</a></span>
19 </td>
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="core-api.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>
24 </tr></table>
25 <div class="refentry">
26 <a name="harfbuzz-hb-set"></a><div class="titlepage"></div>
27 <div class="refnamediv"><table width="100%"><tr>
28 <td valign="top">
29 <h2><span class="refentrytitle"><a name="harfbuzz-hb-set.top_of_page"></a>hb-set</span></h2>
30 <p>hb-set — Objects representing a set of integers</p>
31 </td>
32 <td class="gallery_image" valign="top" align="right"></td>
33 </tr></table></div>
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">
37 <colgroup>
38 <col width="150px" class="functions_proto_type">
39 <col class="functions_proto_name">
40 </colgroup>
41 <tbody>
42 <tr>
43 <td class="function_type">
44 <span class="returnvalue">void</span>
45 </td>
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>
48 </td>
49 </tr>
50 <tr>
51 <td class="function_type">
52 <span class="returnvalue">void</span>
53 </td>
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>
56 </td>
57 </tr>
58 <tr>
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>
61 </td>
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>
64 </td>
65 </tr>
66 <tr>
67 <td class="function_type">
68 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
69 </td>
70 <td class="function_name">
71 <a class="link" href="harfbuzz-hb-set.html#hb-set-copy" title="hb_set_copy ()">hb_set_copy</a> <span class="c_punctuation">()</span>
72 </td>
73 </tr>
74 <tr>
75 <td class="function_type">
76 <span class="returnvalue">void</span>
77 </td>
78 <td class="function_name">
79 <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>
81 </tr>
82 <tr>
83 <td class="function_type">
84 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
85 </td>
86 <td class="function_name">
87 <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>
89 </tr>
90 <tr>
91 <td class="function_type">
92 <span class="returnvalue">void</span>
93 </td>
94 <td class="function_name">
95 <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>
97 </tr>
98 <tr>
99 <td class="function_type">
100 <span class="returnvalue">void</span>
101 </td>
102 <td class="function_name">
103 <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>
105 </tr>
106 <tr>
107 <td class="function_type">
108 <span class="returnvalue">void</span>
109 </td>
110 <td class="function_name">
111 <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>
113 </tr>
114 <tr>
115 <td class="function_type">
116 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
117 </td>
118 <td class="function_name">
119 <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>
121 </tr>
122 <tr>
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>
125 </td>
126 <td class="function_name">
127 <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>
129 </tr>
130 <tr>
131 <td class="function_type">
132 <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
133 </td>
134 <td class="function_name">
135 <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>
137 </tr>
138 <tr>
139 <td class="function_type">unsigned <span class="returnvalue">int</span>
140 </td>
141 <td class="function_name">
142 <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>
144 </tr>
145 <tr>
146 <td class="function_type">
147 <span class="returnvalue">void</span> *
148 </td>
149 <td class="function_name">
150 <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>
152 </tr>
153 <tr>
154 <td class="function_type">
155 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
156 </td>
157 <td class="function_name">
158 <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>
160 </tr>
161 <tr>
162 <td class="function_type">
163 <span class="returnvalue">void</span>
164 </td>
165 <td class="function_name">
166 <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>
168 </tr>
169 <tr>
170 <td class="function_type">
171 <span class="returnvalue">void</span>
172 </td>
173 <td class="function_name">
174 <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>
176 </tr>
177 <tr>
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>
180 </td>
181 <td class="function_name">
182 <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>
184 </tr>
185 <tr>
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>
188 </td>
189 <td class="function_name">
190 <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>
192 </tr>
193 <tr>
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>
196 </td>
197 <td class="function_name">
198 <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>
199 </td>
200 </tr>
201 <tr>
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>
204 </td>
205 <td class="function_name">
206 <a class="link" href="harfbuzz-hb-set.html#hb-set-next" title="hb_set_next ()">hb_set_next</a> <span class="c_punctuation">()</span>
207 </td>
208 </tr>
209 <tr>
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>
212 </td>
213 <td class="function_name">
214 <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>
215 </td>
216 </tr>
217 <tr>
218 <td class="function_type">
219 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
220 </td>
221 <td class="function_name">
222 <a class="link" href="harfbuzz-hb-set.html#hb-set-previous" title="hb_set_previous ()">hb_set_previous</a> <span class="c_punctuation">()</span>
223 </td>
224 </tr>
225 <tr>
226 <td class="function_type">
227 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
228 </td>
229 <td class="function_name">
230 <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>
231 </td>
232 </tr>
233 <tr>
234 <td class="function_type">
235 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
236 </td>
237 <td class="function_name">
238 <a class="link" href="harfbuzz-hb-set.html#hb-set-reference" title="hb_set_reference ()">hb_set_reference</a> <span class="c_punctuation">()</span>
239 </td>
240 </tr>
241 <tr>
242 <td class="function_type">
243 <span class="returnvalue">void</span>
244 </td>
245 <td class="function_name">
246 <a class="link" href="harfbuzz-hb-set.html#hb-set-set" title="hb_set_set ()">hb_set_set</a> <span class="c_punctuation">()</span>
247 </td>
248 </tr>
249 <tr>
250 <td class="function_type">
251 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
252 </td>
253 <td class="function_name">
254 <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>
255 </td>
256 </tr>
257 <tr>
258 <td class="function_type">
259 <span class="returnvalue">void</span>
260 </td>
261 <td class="function_name">
262 <a class="link" href="harfbuzz-hb-set.html#hb-set-subtract" title="hb_set_subtract ()">hb_set_subtract</a> <span class="c_punctuation">()</span>
263 </td>
264 </tr>
265 <tr>
266 <td class="function_type">
267 <span class="returnvalue">void</span>
268 </td>
269 <td class="function_name">
270 <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>
271 </td>
272 </tr>
273 <tr>
274 <td class="function_type">
275 <span class="returnvalue">void</span>
276 </td>
277 <td class="function_name">
278 <a class="link" href="harfbuzz-hb-set.html#hb-set-union" title="hb_set_union ()">hb_set_union</a> <span class="c_punctuation">()</span>
279 </td>
280 </tr>
281 </tbody>
282 </table></div>
283 </div>
284 <div class="refsect1">
285 <a name="harfbuzz-hb-set.other"></a><h2>Types and Values</h2>
286 <div class="informaltable"><table class="informaltable" width="100%" border="0">
287 <colgroup>
288 <col width="150px" class="other_proto_type">
289 <col class="other_proto_name">
290 </colgroup>
291 <tbody>
292 <tr>
293 <td class="define_keyword">#define</td>
294 <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>
295 </tr>
296 <tr>
297 <td class="typedef_keyword">typedef</td>
298 <td class="function_name"><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t">hb_set_t</a></td>
299 </tr>
300 </tbody>
301 </table></div>
302 </div>
303 <div class="refsect1">
304 <a name="harfbuzz-hb-set.includes"></a><h2>Includes</h2>
305 <pre class="synopsis">#include &lt;hb.h&gt;
306 </pre>
307 </div>
308 <div class="refsect1">
309 <a name="harfbuzz-hb-set.description"></a><h2>Description</h2>
310 <p>Set objects represent a mathematical set of integer values.  They are
311 used in non-shaping APIs to query certain sets of characters or glyphs,
312 or other integer values.</p>
313 </div>
314 <div class="refsect1">
315 <a name="harfbuzz-hb-set.functions_details"></a><h2>Functions</h2>
316 <div class="refsect2">
317 <a name="hb-set-add"></a><h3>hb_set_add ()</h3>
318 <pre class="programlisting"><span class="returnvalue">void</span>
319 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>,
320             <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>
321 <p>Adds <em class="parameter"><code>codepoint</code></em>
322  to <em class="parameter"><code>set</code></em>
323 .</p>
324 <div class="refsect3">
325 <a name="hb-set-add.parameters"></a><h4>Parameters</h4>
326 <div class="informaltable"><table class="informaltable" width="100%" border="0">
327 <colgroup>
328 <col width="150px" class="parameters_name">
329 <col class="parameters_description">
330 <col width="200px" class="parameters_annotations">
331 </colgroup>
332 <tbody>
333 <tr>
334 <td class="parameter_name"><p>set</p></td>
335 <td class="parameter_description"><p>A set</p></td>
336 <td class="parameter_annotations"> </td>
337 </tr>
338 <tr>
339 <td class="parameter_name"><p>codepoint</p></td>
340 <td class="parameter_description"><p>The element to add to <em class="parameter"><code>set</code></em>
341 </p></td>
342 <td class="parameter_annotations"> </td>
343 </tr>
344 </tbody>
345 </table></div>
346 </div>
347 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
348 </div>
349 <hr>
350 <div class="refsect2">
351 <a name="hb-set-add-range"></a><h3>hb_set_add_range ()</h3>
352 <pre class="programlisting"><span class="returnvalue">void</span>
353 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>,
354                   <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>,
355                   <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>
356 <p>Adds all of the elements from <em class="parameter"><code>first</code></em>
357  to <em class="parameter"><code>last</code></em>
358
359 (inclusive) to <em class="parameter"><code>set</code></em>
360 .</p>
361 <div class="refsect3">
362 <a name="hb-set-add-range.parameters"></a><h4>Parameters</h4>
363 <div class="informaltable"><table class="informaltable" width="100%" border="0">
364 <colgroup>
365 <col width="150px" class="parameters_name">
366 <col class="parameters_description">
367 <col width="200px" class="parameters_annotations">
368 </colgroup>
369 <tbody>
370 <tr>
371 <td class="parameter_name"><p>set</p></td>
372 <td class="parameter_description"><p>A set</p></td>
373 <td class="parameter_annotations"> </td>
374 </tr>
375 <tr>
376 <td class="parameter_name"><p>first</p></td>
377 <td class="parameter_description"><p>The first element to add to <em class="parameter"><code>set</code></em>
378 </p></td>
379 <td class="parameter_annotations"> </td>
380 </tr>
381 <tr>
382 <td class="parameter_name"><p>last</p></td>
383 <td class="parameter_description"><p>The final element to add to <em class="parameter"><code>set</code></em>
384 </p></td>
385 <td class="parameter_annotations"> </td>
386 </tr>
387 </tbody>
388 </table></div>
389 </div>
390 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
391 </div>
392 <hr>
393 <div class="refsect2">
394 <a name="hb-set-allocation-successful"></a><h3>hb_set_allocation_successful ()</h3>
395 <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>
396 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>
397 <p>Tests whether memory allocation for a set was successful.</p>
398 <div class="refsect3">
399 <a name="hb-set-allocation-successful.parameters"></a><h4>Parameters</h4>
400 <div class="informaltable"><table class="informaltable" width="100%" border="0">
401 <colgroup>
402 <col width="150px" class="parameters_name">
403 <col class="parameters_description">
404 <col width="200px" class="parameters_annotations">
405 </colgroup>
406 <tbody><tr>
407 <td class="parameter_name"><p>set</p></td>
408 <td class="parameter_description"><p>A set</p></td>
409 <td class="parameter_annotations"> </td>
410 </tr></tbody>
411 </table></div>
412 </div>
413 <div class="refsect3">
414 <a name="hb-set-allocation-successful.returns"></a><h4>Returns</h4>
415 <p> <code class="literal">true</code> if allocation succeeded, <code class="literal">false</code> otherwise</p>
416 </div>
417 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
418 </div>
419 <hr>
420 <div class="refsect2">
421 <a name="hb-set-copy"></a><h3>hb_set_copy ()</h3>
422 <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> *
423 hb_set_copy (<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>
424 <p>Allocate a copy of <em class="parameter"><code>set</code></em>
425 .</p>
426 <div class="refsect3">
427 <a name="hb-set-copy.parameters"></a><h4>Parameters</h4>
428 <div class="informaltable"><table class="informaltable" width="100%" border="0">
429 <colgroup>
430 <col width="150px" class="parameters_name">
431 <col class="parameters_description">
432 <col width="200px" class="parameters_annotations">
433 </colgroup>
434 <tbody><tr>
435 <td class="parameter_name"><p>set</p></td>
436 <td class="parameter_description"><p>A set</p></td>
437 <td class="parameter_annotations"> </td>
438 </tr></tbody>
439 </table></div>
440 </div>
441 <div class="refsect3">
442 <a name="hb-set-copy.returns"></a><h4>Returns</h4>
443 <p> Newly-allocated set.</p>
444 </div>
445 <p class="since">Since: <a class="link" href="api-index-2-8-2.html#api-index-2.8.2">2.8.2</a></p>
446 </div>
447 <hr>
448 <div class="refsect2">
449 <a name="hb-set-clear"></a><h3>hb_set_clear ()</h3>
450 <pre class="programlisting"><span class="returnvalue">void</span>
451 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>
452 <p>Clears out the contents of a set.</p>
453 <div class="refsect3">
454 <a name="hb-set-clear.parameters"></a><h4>Parameters</h4>
455 <div class="informaltable"><table class="informaltable" width="100%" border="0">
456 <colgroup>
457 <col width="150px" class="parameters_name">
458 <col class="parameters_description">
459 <col width="200px" class="parameters_annotations">
460 </colgroup>
461 <tbody><tr>
462 <td class="parameter_name"><p>set</p></td>
463 <td class="parameter_description"><p>A set</p></td>
464 <td class="parameter_annotations"> </td>
465 </tr></tbody>
466 </table></div>
467 </div>
468 <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>
470 <hr>
471 <div class="refsect2">
472 <a name="hb-set-create"></a><h3>hb_set_create ()</h3>
473 <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> *
474 hb_set_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
475 <p>Creates a new, initially empty set.</p>
476 <p><span class="annotation">[Xconstructor]</span></p>
477 <div class="refsect3">
478 <a name="hb-set-create.returns"></a><h4>Returns</h4>
479 <p>The new <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a>. </p>
480 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
481 </div>
482 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
483 </div>
484 <hr>
485 <div class="refsect2">
486 <a name="hb-set-del"></a><h3>hb_set_del ()</h3>
487 <pre class="programlisting"><span class="returnvalue">void</span>
488 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>,
489             <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>
490 <p>Removes <em class="parameter"><code>codepoint</code></em>
491  from <em class="parameter"><code>set</code></em>
492 .</p>
493 <div class="refsect3">
494 <a name="hb-set-del.parameters"></a><h4>Parameters</h4>
495 <div class="informaltable"><table class="informaltable" width="100%" border="0">
496 <colgroup>
497 <col width="150px" class="parameters_name">
498 <col class="parameters_description">
499 <col width="200px" class="parameters_annotations">
500 </colgroup>
501 <tbody>
502 <tr>
503 <td class="parameter_name"><p>set</p></td>
504 <td class="parameter_description"><p>A set</p></td>
505 <td class="parameter_annotations"> </td>
506 </tr>
507 <tr>
508 <td class="parameter_name"><p>codepoint</p></td>
509 <td class="parameter_description"><p>Removes <em class="parameter"><code>codepoint</code></em>
510 from <em class="parameter"><code>set</code></em>
511 </p></td>
512 <td class="parameter_annotations"> </td>
513 </tr>
514 </tbody>
515 </table></div>
516 </div>
517 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
518 </div>
519 <hr>
520 <div class="refsect2">
521 <a name="hb-set-del-range"></a><h3>hb_set_del_range ()</h3>
522 <pre class="programlisting"><span class="returnvalue">void</span>
523 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>,
524                   <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>,
525                   <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>
526 <p>Removes all of the elements from <em class="parameter"><code>first</code></em>
527  to <em class="parameter"><code>last</code></em>
528
529 (inclusive) from <em class="parameter"><code>set</code></em>
530 .</p>
531 <p>If <em class="parameter"><code>last</code></em>
532  is <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><span class="type">HB_SET_VALUE_INVALID</span></a>, then all values
533 greater than or equal to <em class="parameter"><code>first</code></em>
534  are removed.</p>
535 <div class="refsect3">
536 <a name="hb-set-del-range.parameters"></a><h4>Parameters</h4>
537 <div class="informaltable"><table class="informaltable" width="100%" border="0">
538 <colgroup>
539 <col width="150px" class="parameters_name">
540 <col class="parameters_description">
541 <col width="200px" class="parameters_annotations">
542 </colgroup>
543 <tbody>
544 <tr>
545 <td class="parameter_name"><p>set</p></td>
546 <td class="parameter_description"><p>A set</p></td>
547 <td class="parameter_annotations"> </td>
548 </tr>
549 <tr>
550 <td class="parameter_name"><p>first</p></td>
551 <td class="parameter_description"><p>The first element to remove from <em class="parameter"><code>set</code></em>
552 </p></td>
553 <td class="parameter_annotations"> </td>
554 </tr>
555 <tr>
556 <td class="parameter_name"><p>last</p></td>
557 <td class="parameter_description"><p>The final element to remove from <em class="parameter"><code>set</code></em>
558 </p></td>
559 <td class="parameter_annotations"> </td>
560 </tr>
561 </tbody>
562 </table></div>
563 </div>
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>
565 </div>
566 <hr>
567 <div class="refsect2">
568 <a name="hb-set-destroy"></a><h3>hb_set_destroy ()</h3>
569 <pre class="programlisting"><span class="returnvalue">void</span>
570 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>
571 <p>Decreases the reference count on a set. When
572 the reference count reaches zero, the set is
573 destroyed, freeing all memory.</p>
574 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
575 <div class="refsect3">
576 <a name="hb-set-destroy.parameters"></a><h4>Parameters</h4>
577 <div class="informaltable"><table class="informaltable" width="100%" border="0">
578 <colgroup>
579 <col width="150px" class="parameters_name">
580 <col class="parameters_description">
581 <col width="200px" class="parameters_annotations">
582 </colgroup>
583 <tbody><tr>
584 <td class="parameter_name"><p>set</p></td>
585 <td class="parameter_description"><p>A set</p></td>
586 <td class="parameter_annotations"> </td>
587 </tr></tbody>
588 </table></div>
589 </div>
590 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
591 </div>
592 <hr>
593 <div class="refsect2">
594 <a name="hb-set-get-empty"></a><h3>hb_set_get_empty ()</h3>
595 <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> *
596 hb_set_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
597 <p>Fetches the singleton empty <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a>.</p>
598 <div class="refsect3">
599 <a name="hb-set-get-empty.returns"></a><h4>Returns</h4>
600 <p>The empty <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a>. </p>
601 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
602 </div>
603 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
604 </div>
605 <hr>
606 <div class="refsect2">
607 <a name="hb-set-get-max"></a><h3>hb_set_get_max ()</h3>
608 <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>
609 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>
610 <p>Finds the largest element in the set.</p>
611 <div class="refsect3">
612 <a name="hb-set-get-max.parameters"></a><h4>Parameters</h4>
613 <div class="informaltable"><table class="informaltable" width="100%" border="0">
614 <colgroup>
615 <col width="150px" class="parameters_name">
616 <col class="parameters_description">
617 <col width="200px" class="parameters_annotations">
618 </colgroup>
619 <tbody><tr>
620 <td class="parameter_name"><p>set</p></td>
621 <td class="parameter_description"><p>A set</p></td>
622 <td class="parameter_annotations"> </td>
623 </tr></tbody>
624 </table></div>
625 </div>
626 <div class="refsect3">
627 <a name="hb-set-get-max.returns"></a><h4>Returns</h4>
628 <p> maximum of <em class="parameter"><code>set</code></em>
629 , or <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><span class="type">HB_SET_VALUE_INVALID</span></a> if <em class="parameter"><code>set</code></em>
630 is empty.</p>
631 </div>
632 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
633 </div>
634 <hr>
635 <div class="refsect2">
636 <a name="hb-set-get-min"></a><h3>hb_set_get_min ()</h3>
637 <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>
638 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>
639 <p>Finds the smallest element in the set.</p>
640 <div class="refsect3">
641 <a name="hb-set-get-min.parameters"></a><h4>Parameters</h4>
642 <div class="informaltable"><table class="informaltable" width="100%" border="0">
643 <colgroup>
644 <col width="150px" class="parameters_name">
645 <col class="parameters_description">
646 <col width="200px" class="parameters_annotations">
647 </colgroup>
648 <tbody><tr>
649 <td class="parameter_name"><p>set</p></td>
650 <td class="parameter_description"><p>A set</p></td>
651 <td class="parameter_annotations"> </td>
652 </tr></tbody>
653 </table></div>
654 </div>
655 <div class="refsect3">
656 <a name="hb-set-get-min.returns"></a><h4>Returns</h4>
657 <p> minimum of <em class="parameter"><code>set</code></em>
658 , or <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><span class="type">HB_SET_VALUE_INVALID</span></a> if <em class="parameter"><code>set</code></em>
659 is empty.</p>
660 </div>
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>
662 </div>
663 <hr>
664 <div class="refsect2">
665 <a name="hb-set-get-population"></a><h3>hb_set_get_population ()</h3>
666 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
667 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>
668 <p>Returns the number of elements in the set.</p>
669 <div class="refsect3">
670 <a name="hb-set-get-population.parameters"></a><h4>Parameters</h4>
671 <div class="informaltable"><table class="informaltable" width="100%" border="0">
672 <colgroup>
673 <col width="150px" class="parameters_name">
674 <col class="parameters_description">
675 <col width="200px" class="parameters_annotations">
676 </colgroup>
677 <tbody><tr>
678 <td class="parameter_name"><p>set</p></td>
679 <td class="parameter_description"><p>A set</p></td>
680 <td class="parameter_annotations"> </td>
681 </tr></tbody>
682 </table></div>
683 </div>
684 <div class="refsect3">
685 <a name="hb-set-get-population.returns"></a><h4>Returns</h4>
686 <p> The population of <em class="parameter"><code>set</code></em>
687 </p>
688 </div>
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>
690 </div>
691 <hr>
692 <div class="refsect2">
693 <a name="hb-set-get-user-data"></a><h3>hb_set_get_user_data ()</h3>
694 <pre class="programlisting"><span class="returnvalue">void</span> *
695 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>,
696                       <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>
697 <p>Fetches the user data associated with the specified key,
698 attached to the specified set.</p>
699 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
700 <div class="refsect3">
701 <a name="hb-set-get-user-data.parameters"></a><h4>Parameters</h4>
702 <div class="informaltable"><table class="informaltable" width="100%" border="0">
703 <colgroup>
704 <col width="150px" class="parameters_name">
705 <col class="parameters_description">
706 <col width="200px" class="parameters_annotations">
707 </colgroup>
708 <tbody>
709 <tr>
710 <td class="parameter_name"><p>set</p></td>
711 <td class="parameter_description"><p>A set</p></td>
712 <td class="parameter_annotations"> </td>
713 </tr>
714 <tr>
715 <td class="parameter_name"><p>key</p></td>
716 <td class="parameter_description"><p>The user-data key to query</p></td>
717 <td class="parameter_annotations"> </td>
718 </tr>
719 </tbody>
720 </table></div>
721 </div>
722 <div class="refsect3">
723 <a name="hb-set-get-user-data.returns"></a><h4>Returns</h4>
724 <p>A pointer to the user data. </p>
725 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
726 </div>
727 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
728 </div>
729 <hr>
730 <div class="refsect2">
731 <a name="hb-set-has"></a><h3>hb_set_has ()</h3>
732 <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>
733 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>,
734             <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>
735 <p>Tests whether <em class="parameter"><code>codepoint</code></em>
736  belongs to <em class="parameter"><code>set</code></em>
737 .</p>
738 <div class="refsect3">
739 <a name="hb-set-has.parameters"></a><h4>Parameters</h4>
740 <div class="informaltable"><table class="informaltable" width="100%" border="0">
741 <colgroup>
742 <col width="150px" class="parameters_name">
743 <col class="parameters_description">
744 <col width="200px" class="parameters_annotations">
745 </colgroup>
746 <tbody>
747 <tr>
748 <td class="parameter_name"><p>set</p></td>
749 <td class="parameter_description"><p>A set</p></td>
750 <td class="parameter_annotations"> </td>
751 </tr>
752 <tr>
753 <td class="parameter_name"><p>codepoint</p></td>
754 <td class="parameter_description"><p>The element to query</p></td>
755 <td class="parameter_annotations"> </td>
756 </tr>
757 </tbody>
758 </table></div>
759 </div>
760 <div class="refsect3">
761 <a name="hb-set-has.returns"></a><h4>Returns</h4>
762 <p> <code class="literal">true</code> if <em class="parameter"><code>codepoint</code></em>
763 is in <em class="parameter"><code>set</code></em>
764 , <code class="literal">false</code> otherwise</p>
765 </div>
766 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
767 </div>
768 <hr>
769 <div class="refsect2">
770 <a name="hb-set-intersect"></a><h3>hb_set_intersect ()</h3>
771 <pre class="programlisting"><span class="returnvalue">void</span>
772 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>,
773                   <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>
774 <p>Makes <em class="parameter"><code>set</code></em>
775  the intersection of <em class="parameter"><code>set</code></em>
776  and <em class="parameter"><code>other</code></em>
777 .</p>
778 <div class="refsect3">
779 <a name="hb-set-intersect.parameters"></a><h4>Parameters</h4>
780 <div class="informaltable"><table class="informaltable" width="100%" border="0">
781 <colgroup>
782 <col width="150px" class="parameters_name">
783 <col class="parameters_description">
784 <col width="200px" class="parameters_annotations">
785 </colgroup>
786 <tbody>
787 <tr>
788 <td class="parameter_name"><p>set</p></td>
789 <td class="parameter_description"><p>A set</p></td>
790 <td class="parameter_annotations"> </td>
791 </tr>
792 <tr>
793 <td class="parameter_name"><p>other</p></td>
794 <td class="parameter_description"><p>Another set</p></td>
795 <td class="parameter_annotations"> </td>
796 </tr>
797 </tbody>
798 </table></div>
799 </div>
800 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
801 </div>
802 <hr>
803 <div class="refsect2">
804 <a name="hb-set-invert"></a><h3>hb_set_invert ()</h3>
805 <pre class="programlisting"><span class="returnvalue">void</span>
806 hb_set_invert (<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>
807 <p>Inverts the contents of <em class="parameter"><code>set</code></em>
808 .</p>
809 <div class="refsect3">
810 <a name="hb-set-invert.parameters"></a><h4>Parameters</h4>
811 <div class="informaltable"><table class="informaltable" width="100%" border="0">
812 <colgroup>
813 <col width="150px" class="parameters_name">
814 <col class="parameters_description">
815 <col width="200px" class="parameters_annotations">
816 </colgroup>
817 <tbody><tr>
818 <td class="parameter_name"><p>set</p></td>
819 <td class="parameter_description"><p>A set</p></td>
820 <td class="parameter_annotations"> </td>
821 </tr></tbody>
822 </table></div>
823 </div>
824 <p class="since">Since: <a class="link" href="api-index-3-0-0.html#api-index-3.0.0">3.0.0</a></p>
825 </div>
826 <hr>
827 <div class="refsect2">
828 <a name="hb-set-is-empty"></a><h3>hb_set_is_empty ()</h3>
829 <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>
830 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>
831 <p>Tests whether a set is empty (contains no elements).</p>
832 <div class="refsect3">
833 <a name="hb-set-is-empty.parameters"></a><h4>Parameters</h4>
834 <div class="informaltable"><table class="informaltable" width="100%" border="0">
835 <colgroup>
836 <col width="150px" class="parameters_name">
837 <col class="parameters_description">
838 <col width="200px" class="parameters_annotations">
839 </colgroup>
840 <tbody><tr>
841 <td class="parameter_name"><p>set</p></td>
842 <td class="parameter_description"><p>a set.</p></td>
843 <td class="parameter_annotations"> </td>
844 </tr></tbody>
845 </table></div>
846 </div>
847 <div class="refsect3">
848 <a name="hb-set-is-empty.returns"></a><h4>Returns</h4>
849 <p> <code class="literal">true</code> if <em class="parameter"><code>set</code></em>
850 is empty</p>
851 </div>
852 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
853 </div>
854 <hr>
855 <div class="refsect2">
856 <a name="hb-set-is-equal"></a><h3>hb_set_is_equal ()</h3>
857 <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>
858 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>,
859                  <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>
860 <p>Tests whether <em class="parameter"><code>set</code></em>
861  and <em class="parameter"><code>other</code></em>
862  are equal (contain the same
863 elements).</p>
864 <div class="refsect3">
865 <a name="hb-set-is-equal.parameters"></a><h4>Parameters</h4>
866 <div class="informaltable"><table class="informaltable" width="100%" border="0">
867 <colgroup>
868 <col width="150px" class="parameters_name">
869 <col class="parameters_description">
870 <col width="200px" class="parameters_annotations">
871 </colgroup>
872 <tbody>
873 <tr>
874 <td class="parameter_name"><p>set</p></td>
875 <td class="parameter_description"><p>A set</p></td>
876 <td class="parameter_annotations"> </td>
877 </tr>
878 <tr>
879 <td class="parameter_name"><p>other</p></td>
880 <td class="parameter_description"><p>Another set</p></td>
881 <td class="parameter_annotations"> </td>
882 </tr>
883 </tbody>
884 </table></div>
885 </div>
886 <div class="refsect3">
887 <a name="hb-set-is-equal.returns"></a><h4>Returns</h4>
888 <p> <code class="literal">true</code> if the two sets are equal, <code class="literal">false</code> otherwise.</p>
889 </div>
890 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
891 </div>
892 <hr>
893 <div class="refsect2">
894 <a name="hb-set-is-subset"></a><h3>hb_set_is_subset ()</h3>
895 <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>
896 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>,
897                   <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>
898 <p>Tests whether <em class="parameter"><code>set</code></em>
899  is a subset of <em class="parameter"><code>larger_set</code></em>
900 .</p>
901 <div class="refsect3">
902 <a name="hb-set-is-subset.parameters"></a><h4>Parameters</h4>
903 <div class="informaltable"><table class="informaltable" width="100%" border="0">
904 <colgroup>
905 <col width="150px" class="parameters_name">
906 <col class="parameters_description">
907 <col width="200px" class="parameters_annotations">
908 </colgroup>
909 <tbody>
910 <tr>
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>
914 </tr>
915 <tr>
916 <td class="parameter_name"><p>larger_set</p></td>
917 <td class="parameter_description"><p>Another set</p></td>
918 <td class="parameter_annotations"> </td>
919 </tr>
920 </tbody>
921 </table></div>
922 </div>
923 <div class="refsect3">
924 <a name="hb-set-is-subset.returns"></a><h4>Returns</h4>
925 <p> <code class="literal">true</code> if the <em class="parameter"><code>set</code></em>
926 is a subset of (or equal to) <em class="parameter"><code>larger_set</code></em>
927 , <code class="literal">false</code> otherwise.</p>
928 </div>
929 <p class="since">Since: <a class="link" href="api-index-1-8-1.html#api-index-1.8.1">1.8.1</a></p>
930 </div>
931 <hr>
932 <div class="refsect2">
933 <a name="hb-set-next"></a><h3>hb_set_next ()</h3>
934 <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>
935 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>,
936              <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>
937 <p>Fetches the next element in <em class="parameter"><code>set</code></em>
938  that is greater than current value of <em class="parameter"><code>codepoint</code></em>
939 .</p>
940 <p>Set <em class="parameter"><code>codepoint</code></em>
941  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><span class="type">HB_SET_VALUE_INVALID</span></a> to get started.</p>
942 <div class="refsect3">
943 <a name="hb-set-next.parameters"></a><h4>Parameters</h4>
944 <div class="informaltable"><table class="informaltable" width="100%" border="0">
945 <colgroup>
946 <col width="150px" class="parameters_name">
947 <col class="parameters_description">
948 <col width="200px" class="parameters_annotations">
949 </colgroup>
950 <tbody>
951 <tr>
952 <td class="parameter_name"><p>set</p></td>
953 <td class="parameter_description"><p>A set</p></td>
954 <td class="parameter_annotations"> </td>
955 </tr>
956 <tr>
957 <td class="parameter_name"><p>codepoint</p></td>
958 <td class="parameter_description"><p>Input = Code point to query
959 Output = Code point retrieved. </p></td>
960 <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>
961 </tr>
962 </tbody>
963 </table></div>
964 </div>
965 <div class="refsect3">
966 <a name="hb-set-next.returns"></a><h4>Returns</h4>
967 <p> <code class="literal">true</code> if there was a next value, <code class="literal">false</code> otherwise</p>
968 </div>
969 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
970 </div>
971 <hr>
972 <div class="refsect2">
973 <a name="hb-set-next-range"></a><h3>hb_set_next_range ()</h3>
974 <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>
975 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>,
976                    <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>,
977                    <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>
978 <p>Fetches the next consecutive range of elements in <em class="parameter"><code>set</code></em>
979  that
980 are greater than current value of <em class="parameter"><code>last</code></em>
981 .</p>
982 <p>Set <em class="parameter"><code>last</code></em>
983  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><span class="type">HB_SET_VALUE_INVALID</span></a> to get started.</p>
984 <div class="refsect3">
985 <a name="hb-set-next-range.parameters"></a><h4>Parameters</h4>
986 <div class="informaltable"><table class="informaltable" width="100%" border="0">
987 <colgroup>
988 <col width="150px" class="parameters_name">
989 <col class="parameters_description">
990 <col width="200px" class="parameters_annotations">
991 </colgroup>
992 <tbody>
993 <tr>
994 <td class="parameter_name"><p>set</p></td>
995 <td class="parameter_description"><p>A set</p></td>
996 <td class="parameter_annotations"> </td>
997 </tr>
998 <tr>
999 <td class="parameter_name"><p>first</p></td>
1000 <td class="parameter_description"><p>The first code point in the range. </p></td>
1001 <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>
1002 </tr>
1003 <tr>
1004 <td class="parameter_name"><p>last</p></td>
1005 <td class="parameter_description"><p>Input = The current last code point in the range
1006 Output = The last code point in the range. </p></td>
1007 <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>
1008 </tr>
1009 </tbody>
1010 </table></div>
1011 </div>
1012 <div class="refsect3">
1013 <a name="hb-set-next-range.returns"></a><h4>Returns</h4>
1014 <p> <code class="literal">true</code> if there was a next range, <code class="literal">false</code> otherwise</p>
1015 </div>
1016 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
1017 </div>
1018 <hr>
1019 <div class="refsect2">
1020 <a name="hb-set-previous"></a><h3>hb_set_previous ()</h3>
1021 <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>
1022 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>,
1023                  <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>
1024 <p>Fetches the previous element in <em class="parameter"><code>set</code></em>
1025  that is lower than current value of <em class="parameter"><code>codepoint</code></em>
1026 .</p>
1027 <p>Set <em class="parameter"><code>codepoint</code></em>
1028  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><span class="type">HB_SET_VALUE_INVALID</span></a> to get started.</p>
1029 <div class="refsect3">
1030 <a name="hb-set-previous.parameters"></a><h4>Parameters</h4>
1031 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1032 <colgroup>
1033 <col width="150px" class="parameters_name">
1034 <col class="parameters_description">
1035 <col width="200px" class="parameters_annotations">
1036 </colgroup>
1037 <tbody>
1038 <tr>
1039 <td class="parameter_name"><p>set</p></td>
1040 <td class="parameter_description"><p>A set</p></td>
1041 <td class="parameter_annotations"> </td>
1042 </tr>
1043 <tr>
1044 <td class="parameter_name"><p>codepoint</p></td>
1045 <td class="parameter_description"><p>Input = Code point to query
1046 Output = Code point retrieved. </p></td>
1047 <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>
1048 </tr>
1049 </tbody>
1050 </table></div>
1051 </div>
1052 <div class="refsect3">
1053 <a name="hb-set-previous.returns"></a><h4>Returns</h4>
1054 <p> <code class="literal">true</code> if there was a previous value, <code class="literal">false</code> otherwise</p>
1055 </div>
1056 <p class="since">Since: <a class="link" href="api-index-1-8-0.html#api-index-1.8.0">1.8.0</a></p>
1057 </div>
1058 <hr>
1059 <div class="refsect2">
1060 <a name="hb-set-previous-range"></a><h3>hb_set_previous_range ()</h3>
1061 <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>
1062 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>,
1063                        <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>,
1064                        <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>
1065 <p>Fetches the previous consecutive range of elements in <em class="parameter"><code>set</code></em>
1066  that
1067 are greater than current value of <em class="parameter"><code>last</code></em>
1068 .</p>
1069 <p>Set <em class="parameter"><code>first</code></em>
1070  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><span class="type">HB_SET_VALUE_INVALID</span></a> to get started.</p>
1071 <div class="refsect3">
1072 <a name="hb-set-previous-range.parameters"></a><h4>Parameters</h4>
1073 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1074 <colgroup>
1075 <col width="150px" class="parameters_name">
1076 <col class="parameters_description">
1077 <col width="200px" class="parameters_annotations">
1078 </colgroup>
1079 <tbody>
1080 <tr>
1081 <td class="parameter_name"><p>set</p></td>
1082 <td class="parameter_description"><p>A set</p></td>
1083 <td class="parameter_annotations"> </td>
1084 </tr>
1085 <tr>
1086 <td class="parameter_name"><p>first</p></td>
1087 <td class="parameter_description"><p>Input = The current first code point in the range
1088 Output = The first code point in the range. </p></td>
1089 <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>
1090 </tr>
1091 <tr>
1092 <td class="parameter_name"><p>last</p></td>
1093 <td class="parameter_description"><p>The last code point in the range. </p></td>
1094 <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>
1095 </tr>
1096 </tbody>
1097 </table></div>
1098 </div>
1099 <div class="refsect3">
1100 <a name="hb-set-previous-range.returns"></a><h4>Returns</h4>
1101 <p> <code class="literal">true</code> if there was a previous range, <code class="literal">false</code> otherwise</p>
1102 </div>
1103 <p class="since">Since: <a class="link" href="api-index-1-8-0.html#api-index-1.8.0">1.8.0</a></p>
1104 </div>
1105 <hr>
1106 <div class="refsect2">
1107 <a name="hb-set-reference"></a><h3>hb_set_reference ()</h3>
1108 <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> *
1109 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>
1110 <p>Increases the reference count on a set.</p>
1111 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1112 <div class="refsect3">
1113 <a name="hb-set-reference.parameters"></a><h4>Parameters</h4>
1114 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1115 <colgroup>
1116 <col width="150px" class="parameters_name">
1117 <col class="parameters_description">
1118 <col width="200px" class="parameters_annotations">
1119 </colgroup>
1120 <tbody><tr>
1121 <td class="parameter_name"><p>set</p></td>
1122 <td class="parameter_description"><p>A set</p></td>
1123 <td class="parameter_annotations"> </td>
1124 </tr></tbody>
1125 </table></div>
1126 </div>
1127 <div class="refsect3">
1128 <a name="hb-set-reference.returns"></a><h4>Returns</h4>
1129 <p>The set. </p>
1130 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1131 </div>
1132 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1133 </div>
1134 <hr>
1135 <div class="refsect2">
1136 <a name="hb-set-set"></a><h3>hb_set_set ()</h3>
1137 <pre class="programlisting"><span class="returnvalue">void</span>
1138 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>,
1139             <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>
1140 <p>Makes the contents of <em class="parameter"><code>set</code></em>
1141  equal to the contents of <em class="parameter"><code>other</code></em>
1142 .</p>
1143 <div class="refsect3">
1144 <a name="hb-set-set.parameters"></a><h4>Parameters</h4>
1145 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1146 <colgroup>
1147 <col width="150px" class="parameters_name">
1148 <col class="parameters_description">
1149 <col width="200px" class="parameters_annotations">
1150 </colgroup>
1151 <tbody>
1152 <tr>
1153 <td class="parameter_name"><p>set</p></td>
1154 <td class="parameter_description"><p>A set</p></td>
1155 <td class="parameter_annotations"> </td>
1156 </tr>
1157 <tr>
1158 <td class="parameter_name"><p>other</p></td>
1159 <td class="parameter_description"><p>Another set</p></td>
1160 <td class="parameter_annotations"> </td>
1161 </tr>
1162 </tbody>
1163 </table></div>
1164 </div>
1165 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1166 </div>
1167 <hr>
1168 <div class="refsect2">
1169 <a name="hb-set-set-user-data"></a><h3>hb_set_set_user_data ()</h3>
1170 <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>
1171 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>,
1172                       <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>,
1173                       <em class="parameter"><code><span class="type">void</span> *data</code></em>,
1174                       <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>,
1175                       <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>
1176 <p>Attaches a user-data key/data pair to the specified set.</p>
1177 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1178 <div class="refsect3">
1179 <a name="hb-set-set-user-data.parameters"></a><h4>Parameters</h4>
1180 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1181 <colgroup>
1182 <col width="150px" class="parameters_name">
1183 <col class="parameters_description">
1184 <col width="200px" class="parameters_annotations">
1185 </colgroup>
1186 <tbody>
1187 <tr>
1188 <td class="parameter_name"><p>set</p></td>
1189 <td class="parameter_description"><p>A set</p></td>
1190 <td class="parameter_annotations"> </td>
1191 </tr>
1192 <tr>
1193 <td class="parameter_name"><p>key</p></td>
1194 <td class="parameter_description"><p>The user-data key to set</p></td>
1195 <td class="parameter_annotations"> </td>
1196 </tr>
1197 <tr>
1198 <td class="parameter_name"><p>data</p></td>
1199 <td class="parameter_description"><p>A pointer to the user data to set</p></td>
1200 <td class="parameter_annotations"> </td>
1201 </tr>
1202 <tr>
1203 <td class="parameter_name"><p>destroy</p></td>
1204 <td class="parameter_description"><p>A callback to call when <em class="parameter"><code>data</code></em>
1205 is not needed anymore. </p></td>
1206 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1207 </tr>
1208 <tr>
1209 <td class="parameter_name"><p>replace</p></td>
1210 <td class="parameter_description"><p>Whether to replace an existing data with the same key</p></td>
1211 <td class="parameter_annotations"> </td>
1212 </tr>
1213 </tbody>
1214 </table></div>
1215 </div>
1216 <div class="refsect3">
1217 <a name="hb-set-set-user-data.returns"></a><h4>Returns</h4>
1218 <p> <code class="literal">true</code> if success, <code class="literal">false</code> otherwise</p>
1219 </div>
1220 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1221 </div>
1222 <hr>
1223 <div class="refsect2">
1224 <a name="hb-set-subtract"></a><h3>hb_set_subtract ()</h3>
1225 <pre class="programlisting"><span class="returnvalue">void</span>
1226 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>,
1227                  <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>
1228 <p>Subtracts the contents of <em class="parameter"><code>other</code></em>
1229  from <em class="parameter"><code>set</code></em>
1230 .</p>
1231 <div class="refsect3">
1232 <a name="hb-set-subtract.parameters"></a><h4>Parameters</h4>
1233 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1234 <colgroup>
1235 <col width="150px" class="parameters_name">
1236 <col class="parameters_description">
1237 <col width="200px" class="parameters_annotations">
1238 </colgroup>
1239 <tbody>
1240 <tr>
1241 <td class="parameter_name"><p>set</p></td>
1242 <td class="parameter_description"><p>A set</p></td>
1243 <td class="parameter_annotations"> </td>
1244 </tr>
1245 <tr>
1246 <td class="parameter_name"><p>other</p></td>
1247 <td class="parameter_description"><p>Another set</p></td>
1248 <td class="parameter_annotations"> </td>
1249 </tr>
1250 </tbody>
1251 </table></div>
1252 </div>
1253 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1254 </div>
1255 <hr>
1256 <div class="refsect2">
1257 <a name="hb-set-symmetric-difference"></a><h3>hb_set_symmetric_difference ()</h3>
1258 <pre class="programlisting"><span class="returnvalue">void</span>
1259 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>,
1260                              <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>
1261 <p>Makes <em class="parameter"><code>set</code></em>
1262  the symmetric difference of <em class="parameter"><code>set</code></em>
1263
1264 and <em class="parameter"><code>other</code></em>
1265 .</p>
1266 <div class="refsect3">
1267 <a name="hb-set-symmetric-difference.parameters"></a><h4>Parameters</h4>
1268 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1269 <colgroup>
1270 <col width="150px" class="parameters_name">
1271 <col class="parameters_description">
1272 <col width="200px" class="parameters_annotations">
1273 </colgroup>
1274 <tbody>
1275 <tr>
1276 <td class="parameter_name"><p>set</p></td>
1277 <td class="parameter_description"><p>A set</p></td>
1278 <td class="parameter_annotations"> </td>
1279 </tr>
1280 <tr>
1281 <td class="parameter_name"><p>other</p></td>
1282 <td class="parameter_description"><p>Another set</p></td>
1283 <td class="parameter_annotations"> </td>
1284 </tr>
1285 </tbody>
1286 </table></div>
1287 </div>
1288 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1289 </div>
1290 <hr>
1291 <div class="refsect2">
1292 <a name="hb-set-union"></a><h3>hb_set_union ()</h3>
1293 <pre class="programlisting"><span class="returnvalue">void</span>
1294 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>,
1295               <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>
1296 <p>Makes <em class="parameter"><code>set</code></em>
1297  the union of <em class="parameter"><code>set</code></em>
1298  and <em class="parameter"><code>other</code></em>
1299 .</p>
1300 <div class="refsect3">
1301 <a name="hb-set-union.parameters"></a><h4>Parameters</h4>
1302 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1303 <colgroup>
1304 <col width="150px" class="parameters_name">
1305 <col class="parameters_description">
1306 <col width="200px" class="parameters_annotations">
1307 </colgroup>
1308 <tbody>
1309 <tr>
1310 <td class="parameter_name"><p>set</p></td>
1311 <td class="parameter_description"><p>A set</p></td>
1312 <td class="parameter_annotations"> </td>
1313 </tr>
1314 <tr>
1315 <td class="parameter_name"><p>other</p></td>
1316 <td class="parameter_description"><p>Another set</p></td>
1317 <td class="parameter_annotations"> </td>
1318 </tr>
1319 </tbody>
1320 </table></div>
1321 </div>
1322 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1323 </div>
1324 </div>
1325 <div class="refsect1">
1326 <a name="harfbuzz-hb-set.other_details"></a><h2>Types and Values</h2>
1327 <div class="refsect2">
1328 <a name="HB-SET-VALUE-INVALID:CAPS"></a><h3>HB_SET_VALUE_INVALID</h3>
1329 <pre class="programlisting">#define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
1330 </pre>
1331 <p>Unset <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> value.</p>
1332 <p class="since">Since: <a class="link" href="api-index-0-9-21.html#api-index-0.9.21">0.9.21</a></p>
1333 </div>
1334 <hr>
1335 <div class="refsect2">
1336 <a name="hb-set-t"></a><h3>hb_set_t</h3>
1337 <pre class="programlisting">typedef struct hb_set_t hb_set_t;
1338 </pre>
1339 <p>Data type for holding a set of integers. <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a>'s are
1340 used to gather and contain glyph IDs, Unicode code
1341 points, and various other collections of discrete
1342
1343 values.</p>
1344 </div>
1345 </div>
1346 </div>
1347 <div class="footer">
1348 <hr>Generated by GTK-Doc V1.32</div>
1349 </body>
1350 </html>