free_config_entries(3)
β¨ NAME β¨
okay so bestie, welcome to the Allegro manual π the function we're hyping up is free_config_entries, and she frees memory allocated for config entry lists. it's part of the Allegro game programming library. periodt. π
π¦ SYNOPSIS π¦
#include <allegro.h>
int free_config_entries(const char ***names);
π§ DESCRIPTION π§
so once you're done with the string arrays that list_config_entries and list_config_sections filled in, you can free them again with this function. it's giving cleanup era, fr fr. β¨
the passed array pointer will be set to NULL, and then you can directly pass the same pointer again to list_config_entries or list_config_sections later. but also β plot twist β you could pass them again without freeing first, because the memory is re-allocated when the pointer is not NULL. lowkey convenient, highkey iconic. π
see list_config_entries for an example of how to use it. iykyk. π«Ά
π SEE ALSO π
that's the whole page, bestie. from the Allegro manual, version 4.4.3 β no date in this footer, but the energy is timeless. free_config_entries(3), out. πβ¨π
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms