BString::SetToFormat(): Add printf format function attribute
This commit is contained in:
@@ -55,7 +55,8 @@ public:
|
|||||||
BString& SetToChars(const BString& string, int32 charCount);
|
BString& SetToChars(const BString& string, int32 charCount);
|
||||||
BString& AdoptChars(BString& from, int32 charCount);
|
BString& AdoptChars(BString& from, int32 charCount);
|
||||||
|
|
||||||
BString& SetToFormat(const char* format, ...);
|
BString& SetToFormat(const char* format, ...)
|
||||||
|
__attribute__((__format__(__printf__, 2, 3)));
|
||||||
BString& SetToFormatVarArgs(const char* format,
|
BString& SetToFormatVarArgs(const char* format,
|
||||||
va_list args);
|
va_list args);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user