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(3alleg5).
This does not free the memory, as that was user allocated to begin with.
ALLEGRO_EVENT_SOURCE(3alleg5)