func (surface *Surface) Unlock() { C.SDL_UnlockSurface(surface.cptr()) }
// Unlocks a previously locked surface. func (screen *Surface) Unlock() { screen.mutex.Lock() C.SDL_UnlockSurface(screen.cSurface) screen.mutex.Unlock() }
// Unlocks a previously locked surface. func (screen *Surface) Unlock() { C.SDL_UnlockSurface((*C.SDL_Surface)(cast(screen))) }
func (surface *Surface) Unlock() { _surface := (*C.SDL_Surface)(unsafe.Pointer(surface)) C.SDL_UnlockSurface(_surface) }
func (s *Surface) Unlock() { C.SDL_UnlockSurface(s.c()) }
// Unlocks a previously locked surface. func (screen *Surface) Unlock() { C.SDL_UnlockSurface(screen.cSurface) }
func unlockSurface(surface *C.SDL_Surface) { C.SDL_UnlockSurface(surface) }