Function SDL_GetWindowData

pub unsafe extern "C" fn SDL_GetWindowData(
    window: *mut SDL_Window,
    name: *const i8,
) -> *mut c_void
Available on crate feature dep_sdl2 only.
Expand description

Retrieve the data pointer associated with a window.

\param window the window to query \param name the name of the pointer \returns the value associated with name.

\since This function is available since SDL 2.0.0.

\sa SDL_SetWindowData