示例#1
0
文件: log.go 项目: tanema/amore
// LogSetPriority (https://wiki.libsdl.org/SDL_LogSetPriority)
func LogSetPriority(category int, p LogPriority) {
	C.SDL_LogSetPriority(C.int(category), p.c())
}
示例#2
0
func LogSetPriority(category int, priority LogPriority) {
	_category := (C.int)(category)
	_priority := (C.SDL_LogPriority)(priority)
	C.SDL_LogSetPriority(_category, _priority)
}
示例#3
0
文件: log.go 项目: willemvds/sdl
func LogSetPriority(cat int, p LogPriority) {
	C.SDL_LogSetPriority(C.int(cat), C.SDL_LogPriority(p))
}