free_config_entries(3alleg)

free_config_entries3alleg

Frees memory allocated for config entry lists. allegro game programming library.

Usage

#include <allegro.h>

int free_config_entries(const char ***names);

Overview

Once you are done with the string arrays filled in by list_config_entries and list_config_sections, you can free them again with this function. The passed array pointer will be set to NULL, and you directly can pass the same pointer again to list_config_entries or list_config_sections later - but you also could pass them again without freeing first, since the memory is re-allocated when the pointer is not NULL.

See list_config_entries for an example of how to use it.

Releases

Unchanged in 2 releases since Debian 5.0 (Lenny).

  1. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.