config_is_hooked(3alleg4)

config_is_hooked3alleg4

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

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.