al_destroy_user_event_source(3) al_destroy_user_event_source(3)

al_destroy_user_event_source - Allegro 5 API

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

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.

ALLEGRO_EVENT_SOURCE(3)

Allegro reference manual