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

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

作者:kearsle    项目:Go-SD   
// Checks which subsystems are initialized.
func WasInit(flags uint32) int {
	GlobalMutex.Lock()
	status := int(C.SDL_WasInit(C.Uint32(flags)))
	GlobalMutex.Unlock()
	return status
}

作者:jaz30    项目:go-sdl   
func WasInit(flags uint32) uint32 {
	return uint32(C.SDL_WasInit(C.Uint32(flags)))
}

作者:gnanderso    项目:Go-SD   
// Checks which subsystems are initialized.
func WasInit(flags uint32) int { return int(C.SDL_WasInit(C.Uint32(flags))) }

作者:kyleconro    项目:gold   
func WasInit(flags uint32) uint32 {
	_flags := (C.Uint32)(flags)
	return (uint32)(C.SDL_WasInit(_flags))
}

作者:jbondeso    项目:Go-SDL   
// Checks which subsystems are initialized.
func WasInit(flags uint32) uint32 {
	status := uint32(C.SDL_WasInit(C.Uint32(flags)))
	return status
}

作者:salihd    项目:sd   
// WasInit returns a mask of the specified subsystems which have previously been
// initialized.
//
// Note: The return value doesn't include InitNoParachute.
func WasInit(flags InitFlag) (wasInitFlags InitFlag) {
	return InitFlag(C.SDL_WasInit(C.Uint32(flags)))
}


问题


面经


文章

微信
公众号

扫码关注公众号