set_config_data man page

set_config_data — Sets a block of configuration data. Allegro game programming library.


#include <allegro.h>

void set_config_data(const char *data, int length);


Specifies a block of data to be used by all subsequent config functions,  which you have 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.

See Also

set_config_file(3), override_config_data(3), push_config_state(3), set_config_string(3), get_config_string(3)

Referenced By

override_config_data(3), set_config_file(3).

version 4.4.2 Allegro manual