File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -94,28 +94,28 @@ bool unichar_isxdigit(unichar c) {
94
94
}
95
95
96
96
/*
97
- bool char_is_alpha_or_digit (unichar c) {
97
+ bool unichar_is_alpha_or_digit (unichar c) {
98
98
return c < 128 && (attr[c] & (FL_ALPHA | FL_DIGIT)) != 0;
99
99
}
100
100
*/
101
101
102
- bool char_is_upper (unichar c ) {
102
+ bool unichar_isupper (unichar c ) {
103
103
return c < 128 && (attr [c ] & FL_UPPER ) != 0 ;
104
104
}
105
105
106
- bool char_is_lower (unichar c ) {
106
+ bool unichar_islower (unichar c ) {
107
107
return c < 128 && (attr [c ] & FL_LOWER ) != 0 ;
108
108
}
109
109
110
110
unichar unichar_tolower (unichar c ) {
111
- if (char_is_upper (c )) {
111
+ if (unichar_isupper (c )) {
112
112
return c + 0x20 ;
113
113
}
114
114
return c ;
115
115
}
116
116
117
117
unichar unichar_toupper (unichar c ) {
118
- if (char_is_lower (c )) {
118
+ if (unichar_islower (c )) {
119
119
return c - 0x20 ;
120
120
}
121
121
return c ;
You can’t perform that action at this time.
0 commit comments