1
0
Fork 0
src/lowercase/case-unicode.h

11 lines
385 B
C

#include <unicode/umachine.h> /* UChar32 */
#define CHARACTER UChar32
#include <unicode/uchar.h> /* u_tolower(3), u_toupper(3), UCHAR_MAX_VALUE */
#define ISVALID(c) ((c) <= UCHAR_MAX_VALUE && (c) >= 0)
#define TOLOWER u_tolower
#define TOUPPER u_toupper
#include <unicode/ustdio.h> /* u_fgetc(3), u_fputc(3), U_EOF */
#define ENDOFFILE U_EOF
#define GETC u_fgetc
#define PUTC u_fputc