1
1
mirror of https://github.com/swaywm/sway synced 2024-11-19 07:34:28 +01:00
sway/include/util.h
2015-12-14 17:07:52 +01:00

15 lines
180 B
C

#ifndef _SWAY_UTIL_H
#define _SWAY_UTIL_H
/**
* Wrap i into the range [0, max[
*/
int wrap(int i, int max);
/**
* Count number of digits in int
*/
int numlen(int n);
#endif