logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

set_config_file - Sets the configuration file. Allegro game programming library.

Description

       Sets  the  configuration file to be used by all subsequent config functions. (Allegro will not search for
       this file in other locations as it does with allegro.cfg at the time of initialization.)

       All pointers  returned  by  previous  calls  to  get_config_string()  and  other  related  functions  are
       invalidated  when  you call this function!  You can call this function before install_allegro() to change
       the configuration file, but after set_uformat() if you want to use a text encoding format other than  the
       default.

Name

       set_config_file - Sets the configuration file. Allegro game programming library.

See Also

set_config_data(3alleg4),            override_config_file(3alleg4),           push_config_state(3alleg4),
       set_uformat(3alleg4), set_config_string(3alleg4), get_config_string(3alleg4), exconfig(3alleg4)

Allegro                                           version 4.4.3                         set_config_file(3alleg4)

Synopsis

#include<allegro.h>voidset_config_file(constchar*filename);

See Also