pub unsafe extern "C" fn SDL_SetWindowData(
    window: *mut SDL_Window,
    name: *const c_char,
    userdata: *mut c_void
) -> *mut c_void
Expand description

Associate an arbitrary named pointer with a window.

name is case-sensitive.

\param window the window to associate with the pointer \param name the name of the pointer \param userdata the associated pointer \returns the previous value associated with name.

\since This function is available since SDL 2.0.0.

\sa SDL_GetWindowData