al_destroy_user_event_source(3)

al_destroy_user_event_source3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_destroy_user_event_source(ALLEGRO_EVENT_SOURCE *src)

Overview

Destroy an event source initialised with al_init_user_event_source(3).

This does not free the memory, as that was user allocated to begin with.

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