Example #1
0
File: al.go Project: beoran/algo
// Inibits the screensaver, or not debending on inhibit.
func InhibitScreensaver(inhibit bool) bool {
	return bool(C.al_inhibit_screensaver(C.bool(inhibit)))
}
Example #2
0
func InhibitScreensaver(inhibit bool) {
	C.al_inhibit_screensaver(C.bool(inhibit))
}