示例#1
0
文件: sdl.go 项目: kearsley/Go-SDL
// Checks which subsystems are initialized.
func WasInit(flags uint32) int {
	GlobalMutex.Lock()
	status := int(C.SDL_WasInit(C.Uint32(flags)))
	GlobalMutex.Unlock()
	return status
}
示例#2
0
文件: sdl.go 项目: jaz303/go-sdl2
func WasInit(flags uint32) uint32 {
	return uint32(C.SDL_WasInit(C.Uint32(flags)))
}
示例#3
0
文件: sdl.go 项目: gnanderson/Go-SDL
// Checks which subsystems are initialized.
func WasInit(flags uint32) int { return int(C.SDL_WasInit(C.Uint32(flags))) }
示例#4
0
文件: sdl.go 项目: kyleconroy/golds
func WasInit(flags uint32) uint32 {
	_flags := (C.Uint32)(flags)
	return (uint32)(C.SDL_WasInit(_flags))
}
示例#5
0
文件: sdl.go 项目: jbondeson/Go-SDL2
// Checks which subsystems are initialized.
func WasInit(flags uint32) uint32 {
	status := uint32(C.SDL_WasInit(C.Uint32(flags)))
	return status
}
示例#6
0
文件: init.go 项目: salihdb/sdl
// 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)))
}