예제 #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)))
}