1XkbFreeGeomDoodads(3)            XKB FUNCTIONS           XkbFreeGeomDoodads(3)
2
3
4

NAME

6       XkbFreeGeomDoodads - Free geometry doodads
7

SYNOPSIS

9       void   XkbFreeGeomDoodads   (XkbDoodadPtr   doodads,  int  count,  Bool
10              free_all);
11

ARGUMENTS

13       doodads
14              doodads to be freed
15
16       count  number of doodads to be freed
17
18       free_all
19              True => all doodads are freed
20

DESCRIPTION

22       Xkb provides a number of functions to allocate and  free  subcomponents
23       of  a  keyboard  geometry. Use these functions to create or modify key‐
24       board geometries.  Note that these functions merely allocate space  for
25       the  new  element(s), and it is up to you to fill in the values explic‐
26       itly in your code. These allocation functions increase sz_*  but  never
27       touch  num_* (unless there is an allocation failure, in which case they
28       reset both sz_* and num_* to zero). These functions return  Success  if
29       they  succeed, BadAlloc if they are not able to allocate space, or Bad‐
30       Value if a parameter is not as expected.
31
32       If free_all is True, all doodads in the array are freed, regardless  of
33       the value of count.  Otherwise, count doodads are freed.
34

RETURN VALUES

36       Success        The XkbFreeGeomDoodads function returns Success if there
37                      are no allocation errors.
38

DIAGNOSTICS

40       BadAlloc       Unable to allocate storage
41
42       BadValue       An argument is out of range
43
44
45
46X Version 11                     libX11 1.8.7            XkbFreeGeomDoodads(3)
Impressum