---
name: "al_get_event_source_data"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_event_source_data"
---

# al\_get\_event\_source\_data(3)

Allegro 5 API

## NAME

al\_get\_event\_source\_data - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  intptr_t al_get_event_source_data(const ALLEGRO_EVENT_SOURCE *source)
  ```

## DESCRIPTION

Returns the abstract user data associated with the event source. If no data was previously set, returns NULL.

## SEE ALSO

[al\_set\_event\_source\_data(3)](/al_set_event_source_data/3.md)
