set_config_data(3)
π NAME π
set_config_data β Sets a block of configuration data. Allegro game programming library.
Hey bestie, welcome to set_config_data(3) from the Allegro manual! β¨
π SYNOPSIS π
#include <allegro.h>
void set_config_data(const char *data, int length);
πΈ DESCRIPTION πΈ
Okay so picture this: you've got a whole block of config data, and you want all the config functions after this point to use it. That's the moment for set_config_data. It specifies a block of data to be used by all subsequent config functions. The data is something you've already loaded from disk β eg. as part of some more complicated format of your own, or in a grabber datafile. π
This routine makes a copy of the information, so you can safely free the data after calling it. No cap, that's the whole point: your original data can go poof and the config functions are still fine. π
π¦ SEE ALSO π¦
set_config_file(3)β go check this one too, bestie.override_config_data(3)β another config data icon.push_config_state(3)β push that state, periodt.set_config_string(3)β set a config string, slay.get_config_string(3)β get a config string right back.
Bye bestie! π This was set_config_data(3) from the Allegro manual, Allegro version 4.4.3. 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