mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
10 lines
119 B
C
10 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
|