Golang C.SDL_UnlockSurface类(方法)实例源码

下面列出了Golang C.SDL_UnlockSurface 类(方法)源码代码实例,从而了解它的用法。

作者:JalfRes    项目:go-sdl   
func (surface *Surface) Unlock() {
	C.SDL_UnlockSurface(surface.cptr())
}

作者:kearsle    项目:Go-SD   
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() {
	screen.mutex.Lock()
	C.SDL_UnlockSurface(screen.cSurface)
	screen.mutex.Unlock()
}

作者:gnanderso    项目:Go-SD   
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() { C.SDL_UnlockSurface((*C.SDL_Surface)(cast(screen))) }

作者:kyleconro    项目:gold   
func (surface *Surface) Unlock() {
	_surface := (*C.SDL_Surface)(unsafe.Pointer(surface))
	C.SDL_UnlockSurface(_surface)
}

作者:willemvd    项目:sd   
func (s *Surface) Unlock() {
	C.SDL_UnlockSurface(s.c())
}

作者:jbondeso    项目:Go-SDL   
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() {
	C.SDL_UnlockSurface(screen.cSurface)
}

作者:beora    项目:fung   
func unlockSurface(surface *C.SDL_Surface) {
	C.SDL_UnlockSurface(surface)
}


问题


面经


文章

微信
公众号

扫码关注公众号