Correct erroneous comment regarding realpath availability
[ciopfs.git] / unicode-glib.c
blob2c0f23099b5392fc27a97ecec562f7152dcacf70
1 #include <glib.h>
3 static inline bool str_contains_upper(const char *s)
5 while (*s) {
6 if(g_unichar_isupper(g_utf8_get_char(s)))
7 return true;
8 s = g_utf8_next_char(s);
10 return false;
13 static inline char *str_fold(const char *s)
15 return g_utf8_casefold(s, -1);