1push_config_state(3) Allegro manual push_config_state(3)
2
3
4
6 push_config_state - Pushes the current configuration state. Allegro
7 game programming library.
8
10 #include <allegro.h>
11
12
13 void push_config_state();
14
16 Pushes the current configuration state (filename, variable values,
17 etc). onto an internal stack, allowing you to select some other config
18 source and later restore the current settings by calling pop_con‐
19 fig_state(). This function is mostly intended for internal use by
20 other library functions, for example when you specify a config filename
21 to the save_joystick_data() function, it pushes the config state before
22 switching to the file you specified.
23
24
26 pop_config_state(3), set_config_file(3), save_joystick_data(3), excon‐
27 fig(3)
28
29
30
31Allegro version 4.2.3 push_config_state(3)