From eb01c01a8fa5e5acd03d05513b2b214e3c2dc927 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Tue, 25 Aug 2015 15:17:18 +0200 Subject: refactored workspace_next/prev --- include/util.h | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 include/util.h (limited to 'include/util.h') diff --git a/include/util.h b/include/util.h new file mode 100644 index 00000000..5d42b780 --- /dev/null +++ b/include/util.h @@ -0,0 +1,4 @@ +/** + * Wrap i into the range [0, max[ + */ +int wrap(int i, int max); -- cgit v1.2.3