mirror of
https://github.com/NickHu/sway
synced 2024-12-29 22:23:46 +01:00
9 lines
119 B
C
9 lines
119 B
C
#ifndef _SWAY_UTIL_H
|
|
#define _SWAY_UTIL_H
|
|
|
|
/**
|
|
* Wrap i into the range [0, max[
|
|
*/
|
|
int wrap(int i, int max);
|
|
|
|
#endif
|