get_config_int(3alleg4)
β¨ NAME β¨
get_config_int β bestie, this one pulls an integer out of the configuration file π It's part of the Allegro game programming library, and yes she's iconic for it.
πΈ SYNOPSIS πΈ
#include <allegro.h>
int get_config_int(const char *section, const char *name, int def);
π DESCRIPTION π
Okay so real talk: get_config_int reads an integer variable from the current config file. That's it, that's the whole job, and she does it flawlessly every time π«Ά
And likeβ¦ the deets? The actual fine print? It's the same energy as the comments over on get_config_string() β go read those, iykyk π
ngl the function takes three things: asection, aname, and adefβ and it hands you back anint. Periodt. π
π¦ SEE ALSO π¦
set_config_file(3alleg4)set_config_int(3alleg4)get_config_string(3alleg4)get_config_argv(3alleg4)get_config_float(3alleg4)get_config_hex(3alleg4)get_config_id(3alleg4)exconfig(3alleg4)
okay that's the whole page, love her, no notes π and for the record this was Allegro version 4.4.3 talking about get_config_int(3alleg4) β mwah, go code something cute ππβ¨
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms