BString: Add SetToFormatVarArgs()

This commit is contained in:
Ingo Weinhold
2013-08-28 00:36:27 +02:00
parent af0200d6ef
commit be3833c9a4
2 changed files with 28 additions and 11 deletions
+5 -2
View File
@@ -6,10 +6,11 @@
#define __BSTRING__
#include <BeBuild.h>
#include <SupportDefs.h>
#include <stdarg.h>
#include <string.h>
#include <SupportDefs.h>
class BStringList;
class BStringRef;
@@ -55,6 +56,8 @@ public:
BString& AdoptChars(BString& from, int32 charCount);
BString& SetToFormat(const char* format, ...);
BString& SetToFormatVarArgs(const char* format,
va_list args);
// Substring copying
BString& CopyInto(BString& into, int32 fromOffset,