summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-04 11:16:19 +0200
committermadmaxoft <github@xoft.cz>2014-08-04 11:30:20 +0200
commit1fa210c7f91030ac18fd880fcf131e8104c0b889 (patch)
tree6d63d6572c053b9474d7c2d6c412d9bb0a516ac5 /src/StringUtils.h
parentAnvil: Wolf owner not saved if not present. (diff)
downloadcuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.gz
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.bz2
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.lz
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.xz
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.tar.zst
cuberite-1fa210c7f91030ac18fd880fcf131e8104c0b889.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);