1XkbFreeGeomDoodads(3) XKB FUNCTIONS XkbFreeGeomDoodads(3)
2
3
4
6 XkbFreeGeomDoodads - Free geometry doodads
7
9 void XkbFreeGeomDoodads (XkbDoodadPtr doodads, int count, Bool
10 free_all);
11
13 - doodads
14 doodads to be freed
15
16 - count
17 number of doodads to be freed
18
19 - free_all
20 True => all doodads are freed
21
23 Xkb provides a number of functions to allocate and free subcomponents
24 of a keyboard geometry. Use these functions to create or modify key‐
25 board geometries. Note that these functions merely allocate space for
26 the new element(s), and it is up to you to fill in the values explic‐
27 itly in your code. These allocation functions increase sz_* but never
28 touch num_* (unless there is an allocation failure, in which case they
29 reset both sz_* and num_* to zero). These functions return Success if
30 they succeed, BadAlloc if they are not able to allocate space, or Bad‐
31 Value if a parameter is not as expected.
32
33 If free_all is True, all doodads in the array are freed, regardless of
34 the value of count. Otherwise, count doodads are freed.
35
37 Success The XkbFreeGeomDoodads function returns Success if there
38 are no allocation errors.
39
41 BadAlloc Unable to allocate storage
42
43 BadValue An argument is out of range
44
45
46
47X Version 11 libX11 1.3.4 XkbFreeGeomDoodads(3)