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: a section, a name, and a def β€” and it hands you back an int. Periodt. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹


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 πŸ’–πŸŽ€βœ¨