config_is_hooked man page

config_is_hooked — Tells if a config section has custom hooks. Allegro game programming library.

Synopsis

#include <allegro.h>

int config_is_hooked(const char *section);

Description

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);
}

See Also

hook_config_section(3)

Referenced By

hook_config_section(3).

version 4.4.2 Allegro Allegro manual