config_is_hooked(3alleg)

config_is_hooked3alleg

Tells if a config section has custom hooks. allegro game programming library.

Usage

#include <allegro.h>

int config_is_hooked(const char *section);

Overview

Returns TRUE if the specified config section has been hooked. Example:

   if (config_is_hooked("high_scores")) {
      hook_config_section("high_scores, NULL, NULL, NULL);
   }

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 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.