This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
glovechat/src/util/etc.h

12 lines
221 B
C
Raw Normal View History

2019-02-06 16:44:58 +00:00
#ifndef GLV_UTIL_STRING_H
#define GLV_UTIL_STRING_H
#define MAX(X,Y) (((X)>(Y))?(X):(Y))
#define MIN(X,Y) (((X)<(Y))?(X):(Y))
2019-02-06 16:44:58 +00:00
// AUX STRING FUNCS
2019-02-06 16:44:58 +00:00
int axtoi(const char* str);
int strcnt(const char* str, char c);
#endif