al_destroy_mouse_cursor(3)
π al_destroy_mouse_cursor(3) π
okay bestie, welcome to the Library Functions Manual corner of the group chat. this page is giving tiny-but-iconic cleanup energy, and it's literally the Allegro 5 API function for freeing a mouse cursor. π«Ά
β¨ NAME β¨
al_destroy_mouse_cursorβ Allegro 5 API. yes bestie, it's the cursor-destroyer (in the freeing-memory sense, not the dramatic villain sense). π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
void al_destroy_mouse_cursor(ALLEGRO_MOUSE_CURSOR *cursor)
π¦ DESCRIPTION π¦
okay so this function frees the memory used by the cursor you pass in. that's it, that's the whole vibe. π
and if cursor is NULL, it has no effect β like, it literally does nothing. no extra chaos, no secret side quest. π
bestie reminder: this is the cleanup moment, not the glow-up moment. π
π SEE ALSO π
al_create_mouse_cursor(3)β the icon that makes the cursor in the first place, bestie. go check it out. π
β source: Allegro reference manual Β· date: not printed on this page Β· mwah π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms