diff options
| author | 2014-04-14 21:25:46 -0400 | |
|---|---|---|
| committer | 2014-04-14 21:25:46 -0400 | |
| commit | cb504e236bb21816b5794a14c4dc57d93766e5a8 (patch) | |
| tree | 1e97e5923671d473c78131898ccdeb0b9fd539ee /src/common/string_util.h | |
| parent | added a stub for GetLockHandle (diff) | |
| download | yuzu-cb504e236bb21816b5794a14c4dc57d93766e5a8.tar.gz yuzu-cb504e236bb21816b5794a14c4dc57d93766e5a8.tar.xz yuzu-cb504e236bb21816b5794a14c4dc57d93766e5a8.zip | |
added helper functions for upper/lowercase strings
Diffstat (limited to 'src/common/string_util.h')
| -rw-r--r-- | src/common/string_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h index 6b7e84797..b3c99a807 100644 --- a/src/common/string_util.h +++ b/src/common/string_util.h | |||
| @@ -14,6 +14,12 @@ | |||
| 14 | 14 | ||
| 15 | #include "common/common.h" | 15 | #include "common/common.h" |
| 16 | 16 | ||
| 17 | /// Make a string lowercase | ||
| 18 | void LowerStr(char* str); | ||
| 19 | |||
| 20 | /// Make a string uppercase | ||
| 21 | void UpperStr(char* str); | ||
| 22 | |||
| 17 | std::string StringFromFormat(const char* format, ...); | 23 | std::string StringFromFormat(const char* format, ...); |
| 18 | // Cheap! | 24 | // Cheap! |
| 19 | bool CharArrayFromFormatV(char* out, int outsize, const char* format, va_list args); | 25 | bool CharArrayFromFormatV(char* out, int outsize, const char* format, va_list args); |