XkbFreeGeomPoints(3)
NAME β¨ β XkbFreeGeomPoints
okay so bestie, welcome to XkbFreeGeomPoints from the XKB FUNCTIONS manual. The official NAME line is literally:
XkbFreeGeomPoints - Free points in a outline
Yes, βa outline.β We are keeping the original wording, no edits, no notes π .
SYNOPSIS π
void XkbFreeGeomPoints (XkbOutlinePtr outline, int first, int count,
Bool free_all);
Thatβs the whole signature. She takes an outline, a first, a count, and a free_all and goes to work β¨.
ARGUMENTS π«Ά
outlineβ outline in which points should be freed. Like, this is the outline getting the cleanup.firstβ first point to be freed. First in line for the point-freeing.countβ number of points to be freed. The amount. The math. We love her.free_allβTrue=> all points are freed. Not some. All. She said what she said π.
DESCRIPTION πΈ
okay so the lore: Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Big important note, bestie: these functions merely allocate space for the new element(s), and it is up to you to fill in the values explicitly in your code. They do not fill in the values for you; that part is your main character responsibility π«‘. These allocation functions increase sz_* but never touch num_* β unless there is an allocation failure, in which case they reset both sz_* and num_* to zero π. These functions return Success if they succeed, BadAlloc if they are not able to allocate space, or BadValue if a parameter is not as expected.
If free_all is True, all points are freed regardless of the value of >i first and count. Otherwise, the number of points specified by count are freed, beginning with the point specified by first in the specified outline.
RETURN VALUES π
Successβ TheXkbFreeGeomPointsfunction returnsSuccesswhen there are no allocation or argument errors. Clean, no notes, slay β¨.
DIAGNOSTICS π
BadAllocβ Unable to allocate storage. The storage said βno β€οΈ.βBadValueβ An argument is out of range. One of the args is not passing the vibe check.
Cute sign-off: this XkbFreeGeomPoints(3) page is stamped with X Version 11 and libX11 1.8.14; the footer doesnβt give a separate date, so no invented date, bestie ππ. Go free those points, periodt. π
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- Copyright (c) 1999, Oracle and/or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms