mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
Apply the naming convention to our EVUTIL_IS* functions
This commit is contained in:
parent
8ac3c4c25b
commit
c7848fa019
2
evutil.c
2
evutil.c
@ -2192,7 +2192,7 @@ static const unsigned char EVUTIL_TOLOWER_TABLE[256] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define IMPL_CTYPE_FN(name) \
|
#define IMPL_CTYPE_FN(name) \
|
||||||
int EVUTIL_##name(char c) { \
|
int EVUTIL_##name##_(char c) { \
|
||||||
ev_uint8_t u = c; \
|
ev_uint8_t u = c; \
|
||||||
return !!(EVUTIL_##name##_TABLE[(u >> 5) & 7] & (1 << (u & 31))); \
|
return !!(EVUTIL_##name##_TABLE[(u >> 5) & 7] & (1 << (u & 31))); \
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user