| 1 | #include "tolower_data.h" |
|---|---|
| 2 | |
| 3 | int str_utf8_tolower_codepoint(int code) |
| 4 | { |
| 5 | auto it = UPPER_TO_LOWER_CODEPOINT_MAP.find(x: code); |
| 6 | return it == UPPER_TO_LOWER_CODEPOINT_MAP.end() ? code : it->second; |
| 7 | } |
| 8 |
| 1 | #include "tolower_data.h" |
|---|---|
| 2 | |
| 3 | int str_utf8_tolower_codepoint(int code) |
| 4 | { |
| 5 | auto it = UPPER_TO_LOWER_CODEPOINT_MAP.find(x: code); |
| 6 | return it == UPPER_TO_LOWER_CODEPOINT_MAP.end() ? code : it->second; |
| 7 | } |
| 8 |