---
name: "al_get_event_source_data"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_event_source_data/3alleg5"
---

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

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(3alleg5)
