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