set_config_data(3)

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

πŸ’– 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 πŸ¦‹


Bye bestie! πŸ’– This was set_config_data(3) from the Allegro manual, Allegro version 4.4.3. Mwah. πŸ’…βœ¨

πŸ“¦ where this page comes from