FcRangeDestroy(3)

✨ FcRangeDestroy(3) ✨

okay so bestie, welcome to the fontconfig corner of the manual pages πŸŽ€ this one's about letting go β€” literally. it's FcRangeDestroy, and no, it's not a sad breakup, it's a necessary one πŸ’…


🌸 NAME 🌸

FcRangeDestroy β€” destroy a range object πŸ¦‹

like, unalive it. but nicely. and in the C sense.


πŸ’– SYNOPSIS πŸ’–

#include <fontconfig/fontconfig.h>

void FcRangeDestroy (FcRange *range);

that's it. one include, one function, one void. no return value, no drama, no cap 🫢


🧚 DESCRIPTION 🧚

okay so here's the tea: FcRangeDestroy destroys a FcRange object, and β€” this is the important part β€” it frees all memory associated with it πŸ”₯

that's right. every last byte. clean. iconic. main character energy for your heap, fr fr.

so like, after you call this, the FcRange is gone-gone. not "on a break" gone, actually gone. please do not touch it after, that's giving undefined behaviour and we don't stan πŸ™ˆ

⚠️ bestie pls β€” this one frees memory, so only call it when you're truly done with the range. one object, one destroy. no double-dipping πŸ’€

⭐ SINCE ⭐

version 2.11.91 β€” so it's been serving looks since way back πŸ‘‘


and that's the whole page, bestie, slay πŸ’–βœ¨

cute little sign-off: this gem is from Fontconfig 2.17.0, dated 27 June 2025 πŸŽ€ go forth and free your memory responsibly πŸ¦‹

πŸ“¦ where this page comes from