summaryrefslogtreecommitdiffstats
path: root/source/StringUtils.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-15 11:58:46 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-15 11:58:46 +0100
commit9f4b6ffc6c6095aceb0e5fccd4d73d45adbf1ca8 (patch)
treeefb230bb7347f59c3d8b5ea5fe2be1e538214eb2 /source/StringUtils.h
parentMore valgrind uninitialized var fixing (diff)
downloadcuberite-9f4b6ffc6c6095aceb0e5fccd4d73d45adbf1ca8.tar
cuberite-9f4b6ffc6c6095aceb0e5fccd4d73d45adbf1ca8.tar.gz
cuberite-9f4b6ffc6c6095aceb0e5fccd4d73d45adbf1ca8.tar.bz2
cuberite-9f4b6ffc6c6095aceb0e5fccd4d73d45adbf1ca8.tar.lz
cuberite-9f4b6ffc6c6095aceb0e5fccd4d73d45adbf1ca8.tar.xz
cuberite-9f4b6ffc6c6095aceb0e5fccd4d73d45adbf1ca8.tar.zst
cuberite-9f4b6ffc6c6095aceb0e5fccd4d73d45adbf1ca8.zip
Diffstat (limited to 'source/StringUtils.h')
-rw-r--r--source/StringUtils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/StringUtils.h b/source/StringUtils.h
index 908c725ab..dbf553773 100644
--- a/source/StringUtils.h
+++ b/source/StringUtils.h
@@ -27,6 +27,9 @@ extern AString & AppendVPrintf(AString & str, const char * format, va_list args)
/// Output the formatted text into the string
extern AString & Printf (AString & str, const char * format, ...);
+/// Output the formatted text into string, return string by value
+extern AString Printf(const char * format, ...);
+
/// Add the formatted string to the existing data in the string
extern AString & AppendPrintf (AString & str, const char * format, ...);