summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-04 12:02:57 +0200
committerMattes D <github@xoft.cz>2014-08-04 12:02:57 +0200
commit7b986e65d2b7d7cad6768599ba4298b62b16c35f (patch)
treedd627e5e467d4bf0f3ed47aa1201b6ab94e9c35a /src/StringUtils.h
parentMerge pull request #1283 from Howaner/GlobalFixes (diff)
parentRefactored case-conversion functions. (diff)
downloadcuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.gz
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.bz2
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.lz
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.xz
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.tar.zst
cuberite-7b986e65d2b7d7cad6768599ba4298b62b16c35f.zip
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r--src/StringUtils.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h
index 65363382d..142aaf59b 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -43,10 +43,13 @@ extern AStringVector StringSplitAndTrim(const AString & str, const AString & del
extern AString TrimString(const AString & str); // tolua_export
/// In-place string conversion to uppercase; returns the same string
-extern AString & StrToUpper(AString & s);
+extern AString & InPlaceUppercase(AString & s);
/// In-place string conversion to lowercase; returns the same string
-extern AString & StrToLower(AString & s);
+extern AString & InPlaceLowercase(AString & s);
+
+/** Returns an upper-cased copy of the string */
+extern AString StrToUpper(const AString & s);
/** Returns a lower-cased copy of the string */
extern AString StrToLower(const AString & s);