get_config_hex(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– get_config_hex(3) β€” the Allegro manual, but make it cute ✨

okay so bestie, we're in the Allegro manual and this one is literally about pulling a hex number out of your config file. no cap, it's giving "I just want my pretty hexadecimal values" energy πŸ’…


🌸 NAME 🌸

get_config_hex β€” retrieves a hexadecimal value from the configuration file. Allegro game programming library πŸŽ€


✨ SYNOPSIS ✨

#include <allegro.h>

int get_config_hex(const char *section, const char *name, int def);

πŸ¦‹ DESCRIPTION πŸ¦‹

So the way this works: it reads an integer variable from the current config file, but in hexadecimal format πŸ’œ

And fr fr, if you wanna know more, go peek at the comments about get_config_string() β€” that's where the real tea is β˜•


πŸ‘‘ SEE ALSO πŸ‘‘

like, go look at these too, they're iconic:


mwah πŸ’‹ that's the whole page. this is from Allegro, version 4.4.3 β€” periodt, no date on this one, she's timeless bestie πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from