al_set_event_source_data(3)

al_set_event_source_data3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_set_event_source_data(ALLEGRO_EVENT_SOURCE *source, intptr_t data)

Overview

Assign the abstract user data to the event source. Allegro does not use the data internally for anything; it is simply meant as a convenient way to associate your own data or objects with events.

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