sfTime sfClock_GetElapsedTime(const sfClock* clock) { CSFML_CHECK_RETURN(clock, sfTimeZero); sf::Time time = clock->This.GetElapsedTime(); return sfMicroseconds(time.AsMicroseconds()); }
sfTime sfClock_Restart(sfClock* clock) { CSFML_CHECK_RETURN(clock, sfTimeZero); sf::Time time = clock->This.Restart(); return sfMicroseconds(time.AsMicroseconds()); }
sfTime * sfClock_restart(sfClock* clock) { CSFML_CHECK_RETURN(clock, sfTime_Zero); sf::Time time = clock->This.restart(); return sfMicroseconds(time.asMicroseconds()); }