DOKK / manpages / debian 10 / allegro4-doc / config_is_hooked.3alleg4.en
config_is_hooked(3alleg4) Allegro manual config_is_hooked(3alleg4)

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

#include <allegro.h>

int config_is_hooked(const char *section);

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

hook_config_section(3alleg4)

version 4.4.2 Allegro