Esempio n. 1
0
File: sdl.go Progetto: beoran/fungo
// This function returns true if the CPU has the RDTSC instruction
func HasRDTRSC() bool {
	return i2b(int(C.SDL_HasRDTSC()))
}
Esempio n. 2
0
func HasRDTSC() bool {
	return C.SDL_HasRDTSC() > 0
}
Esempio n. 3
0
func HasRDTSC() bool {
	return C.SDL_HasRDTSC() == C.SDL_TRUE
}