1override_config_data(3)         Allegro manual         override_config_data(3)
2
3
4

NAME

6       override_config_data  -  Specifies  a  block  of data containing config
7       overrides. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void override_config_data(const char *data, int length);
14

DESCRIPTION

16       Version of override_config_file() which uses a block of data  that  has
17       already been read into memory. The length of the block has to be speci‐
18       fied in bytes. Example:
19
20          /* Force German as system language, Spanish keyboard map. */
21          const char *override_data = "[system]\n"
22             "language=DE\n"
23             "keyboard=ES";
24          override_config_data(override_data, ustrsize(override_data));
25
26       Note that this function and override_config_file() are mutually  exclu‐
27       sive, i.e. calling one will cancel the effects of the other.
28
29

SEE ALSO

31       override_config_file(3), set_config_data(3)
32
33
34
35Allegro                          version 4.4.3         override_config_data(3)
Impressum