// GetWindowFromID (https://wiki.libsdl.org/SDL_GetWindowFromID) func GetWindowFromID(id uint32) (*Window, error) { _window := C.SDL_GetWindowFromID(C.Uint32(id)) if _window == nil { return nil, GetError() } return (*Window)(unsafe.Pointer((_window))), nil }
func GetWindowFromID(id uint32) (*Window, error) { win := C.SDL_GetWindowFromID(C.Uint32(id)) if win == nil { return nil, getError() } return &Window{win}, nil }
func GetWindowFromID(id uint32) *Window { _id := (C.Uint32)(id) return (*Window)(unsafe.Pointer((C.SDL_GetWindowFromID(_id)))) }
func GetWindowFromID(id uint32) *Window { return (*Window)(unsafe.Pointer((C.SDL_GetWindowFromID(C.Uint32(id))))) }