set_config_int(3)
β¨ set_config_int(3) β¨
okay so this one lives in the Allegro manual (Allegro game programming library, bestie π) and it's literally just "put a whole number into ur config file" and honestly? iconic behavior.
πΈ NAME πΈ
set_config_int β writes an integer in the configuration file. Allegro game programming library. π
π SYNOPSIS π
#include <allegro.h>
void set_config_int(const char *section, const char *name, int val);
π¦ DESCRIPTION π¦
So basically, set_config_int() writes an integer variable to the current config file. That's the whole vibe. β¨
And the details? The way that it works is exactly like set_config_string() β so if you wanna know the deets, go read the comments about set_config_string(). Not me pointing you at the sister function like it's a group chat mention π but fr fr that's where the lore lives.
lowkey important: it says see the comments about set_config_string() β that's the source of truth for how this family of functions behaves. no cap. π«Ά
π SEE ALSO π
set_config_file(3)get_config_int(3)set_config_string(3)set_config_float(3)set_config_hex(3)set_config_id(3)
like a little config-file friend group. all of them ate. π
and that's the whole page, bestie π this was Allegro, version 4.4.3 β thanks for coming to my ted talk, mwah π ππ¦π
π¦ 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