logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_register_assert_handler - Allegro 5 API

Description

       Register  a  function  to  be called when an internal Allegro assertion fails.  Pass NULL to reset to the
       default behaviour, which is to do whatever the standard assert() macro does.

Name

       al_register_assert_handler - Allegro 5 API

Since

       5.0.6, 5.1.0

Allegro reference manual                                                     al_register_assert_handler(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              void al_register_assert_handler(void (*handler)(char const *expr,
                 char const *file, int line, char const *func))

See Also