diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/util.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/util.h b/include/util.h index 867eb0a4..7f47d713 100644 --- a/include/util.h +++ b/include/util.h | |||
@@ -6,7 +6,13 @@ | |||
6 | #include <wayland-server-protocol.h> | 6 | #include <wayland-server-protocol.h> |
7 | 7 | ||
8 | /** | 8 | /** |
9 | * Wrap i into the range [0, max[ | 9 | * Get the current time, in milliseconds. |
10 | */ | ||
11 | |||
12 | uint32_t get_current_time_msec(void); | ||
13 | |||
14 | /** | ||
15 | * Wrap i into the range [0, max] | ||
10 | */ | 16 | */ |
11 | int wrap(int i, int max); | 17 | int wrap(int i, int max); |
12 | 18 | ||