本文整理匯總了Golang中C.SDL_WasInit函數的典型用法代碼示例。如果您正苦於以下問題:Golang SDL_WasInit函數的具體用法?Golang SDL_WasInit怎麽用?Golang SDL_WasInit使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了SDL_WasInit函數的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。
示例1: WasInit
// 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: WasInit
func WasInit(flags uint32) uint32 {
return uint32(C.SDL_WasInit(C.Uint32(flags)))
}
示例3: WasInit
// Checks which subsystems are initialized.
func WasInit(flags uint32) int { return int(C.SDL_WasInit(C.Uint32(flags))) }
示例4: WasInit
func WasInit(flags uint32) uint32 {
_flags := (C.Uint32)(flags)
return (uint32)(C.SDL_WasInit(_flags))
}
示例5: WasInit
// Checks which subsystems are initialized.
func WasInit(flags uint32) uint32 {
status := uint32(C.SDL_WasInit(C.Uint32(flags)))
return status
}
示例6: WasInit
// 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)))
}