mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
Always load/unload project specific zones
This commit is contained in:
@ -88,4 +88,16 @@ namespace utils
|
||||
inEscape = true;
|
||||
}
|
||||
}
|
||||
|
||||
void MakeStringLowerCase(std::string& str)
|
||||
{
|
||||
for (auto& c : str)
|
||||
c = static_cast<char>(tolower(c));
|
||||
}
|
||||
|
||||
void MakeStringUpperCase(std::string& str)
|
||||
{
|
||||
for (auto& c : str)
|
||||
c = static_cast<char>(toupper(c));
|
||||
}
|
||||
}
|
||||
|
@ -11,4 +11,7 @@ namespace utils
|
||||
void EscapeStringForQuotationMarks(std::ostream& stream, const std::string_view& str);
|
||||
std::string UnescapeStringFromQuotationMarks(const std::string_view& str);
|
||||
void UnescapeStringFromQuotationMarks(std::ostream& stream, const std::string_view& str);
|
||||
|
||||
void MakeStringLowerCase(std::string& str);
|
||||
void MakeStringUpperCase(std::string& str);
|
||||
}
|
||||
|
Reference in New Issue
Block a user