(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)
Retrieve previously set userdata if any.
Returns a pointer to the data or NULL if no data exists
This function is available since SDL 3.0.0.