1
2
3
4
5
6 #include <rt/Ascii.hpp>
7 #include <cctype>
8
9 extern "C" char RtAsciiToUpper(char c)
10 {
11 return std::toupper(static_cast<unsigned char>(c));
12 }
13
14 extern "C" char RtAsciiToLower(char c)
15 {
16 return std::tolower(static_cast<unsigned char>(c));
17 }