File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,28 +94,28 @@ bool unichar_isxdigit(unichar c) {
9494}
9595
9696/*
97- bool char_is_alpha_or_digit (unichar c) {
97+ bool unichar_is_alpha_or_digit (unichar c) {
9898 return c < 128 && (attr[c] & (FL_ALPHA | FL_DIGIT)) != 0;
9999}
100100*/
101101
102- bool char_is_upper (unichar c ) {
102+ bool unichar_isupper (unichar c ) {
103103 return c < 128 && (attr [c ] & FL_UPPER ) != 0 ;
104104}
105105
106- bool char_is_lower (unichar c ) {
106+ bool unichar_islower (unichar c ) {
107107 return c < 128 && (attr [c ] & FL_LOWER ) != 0 ;
108108}
109109
110110unichar unichar_tolower (unichar c ) {
111- if (char_is_upper (c )) {
111+ if (unichar_isupper (c )) {
112112 return c + 0x20 ;
113113 }
114114 return c ;
115115}
116116
117117unichar unichar_toupper (unichar c ) {
118- if (char_is_lower (c )) {
118+ if (unichar_islower (c )) {
119119 return c - 0x20 ;
120120 }
121121 return c ;
You can’t perform that action at this time.
0 commit comments