Esempio n. 1
0
// Checks which subsystems are initialized.
func WasInit(flags uint32) int {
	GlobalMutex.Lock()
	status := int(C.SDL_WasInit(C.Uint32(flags)))
	GlobalMutex.Unlock()
	return status
}
Esempio n. 2
0
func WasInit(flags uint32) uint32 {
	return uint32(C.SDL_WasInit(C.Uint32(flags)))
}
Esempio n. 3
0
// Checks which subsystems are initialized.
func WasInit(flags uint32) int { return int(C.SDL_WasInit(C.Uint32(flags))) }
Esempio n. 4
0
func WasInit(flags uint32) uint32 {
	_flags := (C.Uint32)(flags)
	return (uint32)(C.SDL_WasInit(_flags))
}
Esempio n. 5
0
// Checks which subsystems are initialized.
func WasInit(flags uint32) uint32 {
	status := uint32(C.SDL_WasInit(C.Uint32(flags)))
	return status
}
Esempio n. 6
0
File: init.go Progetto: 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)))
}