swayfx/include/util.h
2015-08-25 15:17:18 +02:00

5 lines
68 B
C

/**
* Wrap i into the range [0, max[
*/
int wrap(int i, int max);