diff options
| author | 2014-09-07 11:50:43 -0700 | |
|---|---|---|
| committer | 2014-09-08 15:43:22 -0700 | |
| commit | 5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f (patch) | |
| tree | b55a6013b561cbb1986a04f2154fe18c0774e891 /src/common/string_util.h | |
| parent | loader.cpp: improved file extension checking, made Upper/LowerStr useful (diff) | |
| download | yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.gz yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.xz yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.zip | |
Added string_util to common, small changes in loader.cpp
Diffstat (limited to 'src/common/string_util.h')
| -rw-r--r-- | src/common/string_util.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h index b1118816e..16ce39bc1 100644 --- a/src/common/string_util.h +++ b/src/common/string_util.h | |||
| @@ -12,12 +12,13 @@ | |||
| 12 | 12 | ||
| 13 | #include "common/common.h" | 13 | #include "common/common.h" |
| 14 | 14 | ||
| 15 | /// Make a string lowercase | 15 | namespace Common { |
| 16 | 16 | ||
| 17 | std::string LowerStr(std::string str); | 17 | /// Make a string lowercase |
| 18 | std::string ToLower(std::string str); | ||
| 18 | 19 | ||
| 19 | /// Make a string uppercase | 20 | /// Make a string uppercase |
| 20 | std::string UpperStr(std::string str); | 21 | std::string ToUpper(std::string str); |
| 21 | 22 | ||
| 22 | std::string StringFromFormat(const char* format, ...); | 23 | std::string StringFromFormat(const char* format, ...); |
| 23 | // Cheap! | 24 | // Cheap! |
| @@ -112,3 +113,5 @@ inline std::string UTF8ToTStr(const std::string& str) | |||
| 112 | #endif | 113 | #endif |
| 113 | 114 | ||
| 114 | #endif | 115 | #endif |
| 116 | |||
| 117 | } | ||