18 #ifndef MAGICKCORE_LOCALE_PRIVATE_H 19 #define MAGICKCORE_LOCALE_PRIVATE_H 21 #if defined(__cplusplus) || defined(c_plusplus) 27 if ((c == EOF) || (c != (
unsigned char) c))
29 #if defined(MAGICKCORE_LOCALE_SUPPORT) 30 if (c_locale != (locale_t) NULL)
31 return(tolower_l((
int) ((
unsigned char) c),c_locale));
33 return(tolower((
int) ((
unsigned char) c)));
38 if ((c == EOF) || (c != (
unsigned char) c))
40 #if defined(MAGICKCORE_LOCALE_SUPPORT) 41 if (c_locale != (locale_t) NULL)
42 return(toupper_l((
int) ((
unsigned char) c),c_locale));
44 return(toupper((
int) ((
unsigned char) c)));
47 #if defined(__cplusplus) || defined(c_plusplus) static int LocaleToUppercase(const int c)
Definition: locale-private.h:36
static int LocaleToLowercase(const int c)
Definition: locale-private.h:25