[−][src]Function sdl2_sys::SDL_SetWindowData
pub unsafe extern "C" fn SDL_SetWindowData(
window: *mut SDL_Window,
name: *const c_char,
userdata: *mut c_void
) -> *mut c_void
\brief Associate an arbitrary named pointer with a window.
\param window The window to associate with the pointer. \param name The name of the pointer. \param userdata The associated pointer.
\return The previous value associated with 'name'
\note The name is case-sensitive.
\sa SDL_GetWindowData()