.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_register_assert_handler" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_register_assert_handler - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_register_assert_handler(void (*handler)(char const *expr, char const *file, int line, char const *func)) \f[R] .fi .SH DESCRIPTION .PP 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 \f[V]assert()\f[R] macro does. .SH SINCE .PP 5.0.6, 5.1.0