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

11 lines
385 B
C
Raw Normal View History

2023-12-23 15:46:43 +00:00
#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
2023-12-23 15:51:22 +00:00
#include <unicode/ustdio.h> /* u_fgetc(3), u_fputc(3), U_EOF */
#define ENDOFFILE U_EOF
2023-12-23 15:46:43 +00:00
#define GETC u_fgetc
#define PUTC u_fputc