Mercurial > hg > th-libs
diff th_string.c @ 593:1a33088e7fa9
Rename some internal preprocessor macros.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 13 Jan 2020 11:41:06 +0200 |
parents | 390c66af09cf |
children | 5ec903f366b5 |
line wrap: on
line diff
--- a/th_string.c Mon Jan 13 11:40:42 2020 +0200 +++ b/th_string.c Mon Jan 13 11:41:06 2020 +0200 @@ -541,15 +541,15 @@ * wildcards ? and *. "?" matches any character and "*" matches * any number of characters. */ -#define TH_STRMATCH_FUNC th_strmatch -#define TH_STRMATCH_COLLATE(px) (px) +#define TH_STRGLOB_FUNC th_strmatch +#define TH_STRGLOB_COLLATE(px) (px) #include "th_strmatch.c" /* Compare a string to a pattern. Case-INSENSITIVE version. */ -#define TH_STRMATCH_FUNC th_strcasematch -#define TH_STRMATCH_COLLATE(px) th_tolower(px) +#define TH_STRGLOB_FUNC th_strcasematch +#define TH_STRGLOB_COLLATE(px) th_tolower(px) #include "th_strmatch.c"