.\" Automatically generated by Pandoc 3.1.3 .\" .\" 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_unref_user_event" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_unref_user_event - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_unref_user_event(ALLEGRO_USER_EVENT *event) \f[R] .fi .SH DESCRIPTION .PP Decrease the reference count of a user-defined event. This must be called on any user event that you get from al_get_next_event(3alleg5), al_peek_next_event(3alleg5), al_wait_for_event(3alleg5), etc. which is reference counted. This function does nothing if the event is not reference counted. .SH SEE ALSO .PP al_emit_user_event(3alleg5), ALLEGRO_USER_EVENT(3alleg5)