Merge: Revamp Clock to return float values for easier memory management
authorJean Privat <jean@pryen.org>
Tue, 24 May 2016 13:16:47 +0000 (09:16 -0400)
committerJean Privat <jean@pryen.org>
Tue, 24 May 2016 13:16:47 +0000 (09:16 -0400)
This PR updates the main services of `Clock` to return float values instead of malloced extern instances of `Timespec`. There is a precision loss, but it's sufficient for games and the likes, and a program needing higher precision can still use `Timespec` directly. Clients don't even have to worry about memory management anymore.

Pull-Request: #2117
Reviewed-by: Jean Privat <jean@pryen.org>


Trivial merge