override_config_data(3alleg4)

override_config_data3alleg4

Specifies a block of data containing config overrides. allegro game programming library.

Usage

#include <allegro.h>

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

Overview

Version of override_config_file() which uses a block of data that has already been read into memory. The length of the block has to be specified in bytes. Example:

   /* Force German as system language, Spanish keyboard map. */
   const char *override_data = "[system]\n"
      "language=DE\n"
      "keyboard=ES";
   override_config_data(override_data, ustrsize(override_data));

Note that this function and override_config_file() are mutually exclusive, i.e. calling one will cancel the effects of the other.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.