diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-08-25 15:17:18 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-08-25 15:17:18 +0200 |
| commit | eb01c01a8fa5e5acd03d05513b2b214e3c2dc927 (patch) | |
| tree | 836048691c78219dc0656d7a4a51128a27c70a02 /include/util.h | |
| parent | 4ebbd47e9037830ce1a9632180360b82b0d7ba36 (diff) | |
refactored workspace_next/prev
Diffstat (limited to 'include/util.h')
| -rw-r--r-- | include/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |
