al_load_config_file

ALLEGRO_CONFIG *al_load_config_file(const char *filename)
Introduced in 5.0.0

Read a configuration file from disk. Returns NULL on error. The configuration structure should be destroyed with al_destroy_config.

See also: al_load_config_file_f, al_save_config_file

Examples: ex_config, ex_draw, ex_logo, ex_stream_seek, ex_ttf, ex_vsync


Most helpful discussions: