al_unref_user_event(3)

al_unref_user_event3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_unref_user_event(ALLEGRO_USER_EVENT *event)

Overview

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(3), al_peek_next_event(3), al_wait_for_event(3), etc. which is reference counted. This function does nothing if the event is not reference counted.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.