示例#1
0
文件: al.go 项目: beoran/algo
// Inibits the screensaver, or not debending on inhibit.
func InhibitScreensaver(inhibit bool) bool {
	return bool(C.al_inhibit_screensaver(C.bool(inhibit)))
}
示例#2
0
func InhibitScreensaver(inhibit bool) {
	C.al_inhibit_screensaver(C.bool(inhibit))
}