Example #1
0
func GetTicks() uint32 {
	return uint32(C.SDL_GetTicks())
}
Example #2
0
// Gets the number of milliseconds since the SDL library initialization.
func GetTicks() uint32 {
	GlobalMutex.Lock()
	t := uint32(C.SDL_GetTicks())
	GlobalMutex.Unlock()
	return t
}