util/FormatString: update API documentation

This commit is contained in:
Max Kellermann 2020-10-28 15:48:23 +01:00
parent 1195eb266e
commit 6bc73a9ebe

View File

@ -27,16 +27,14 @@
template<typename T> class AllocatedString; template<typename T> class AllocatedString;
/** /**
* Format into a newly allocated string. The caller frees the return * Format into an #AllocatedString.
* value with delete[].
*/ */
gcc_nonnull_all gcc_nonnull_all
AllocatedString<char> AllocatedString<char>
FormatStringV(const char *fmt, std::va_list args) noexcept; FormatStringV(const char *fmt, std::va_list args) noexcept;
/** /**
* Format into a newly allocated string. The caller frees the return * Format into an #AllocatedString.
* value with delete[].
*/ */
gcc_nonnull(1) gcc_printf(1,2) gcc_nonnull(1) gcc_printf(1,2)
AllocatedString<char> AllocatedString<char>