aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h8
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
12uint32_t get_current_time_msec(void);
13
14/**
15 * Wrap i into the range [0, max]
10 */ 16 */
11int wrap(int i, int max); 17int wrap(int i, int max);
12 18