Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

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

Name

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

See Also

hook_config_section(3alleg4)

Allegro                                           version 4.4.3                        config_is_hooked(3alleg4)

Synopsis

#include<allegro.h>intconfig_is_hooked(constchar*section);

See Also