Commit 6bc73a9e authored by Max Kellermann's avatar Max Kellermann

util/FormatString: update API documentation

parent 1195eb26
...@@ -27,16 +27,14 @@ ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment