Add more context to Format etc documentation (#2079)
This commit is contained in:
parent
4b2d8b53fa
commit
d4da21b07f
@ -140,7 +140,8 @@ stock int StrCopy(char[] dest, int destLen, const char[] source)
|
||||
* Formats a string according to the SourceMod format rules (see documentation).
|
||||
*
|
||||
* @param buffer Destination string buffer.
|
||||
* @param maxlength Maximum length of output string buffer.
|
||||
* @param maxlength Maximum length of output string buffer,
|
||||
* including the null terminator.
|
||||
* @param format Formatting rules.
|
||||
* @param ... Variable number of format parameters.
|
||||
* @return Number of characters written to the buffer,
|
||||
@ -155,7 +156,8 @@ native int Format(char[] buffer, int maxlength, const char[] format, any ...);
|
||||
* check is removed, it is slightly faster.
|
||||
*
|
||||
* @param buffer Destination string buffer.
|
||||
* @param maxlength Maximum length of output string buffer.
|
||||
* @param maxlength Maximum length of output string buffer,
|
||||
* including the null terminator.
|
||||
* @param format Formatting rules.
|
||||
* @param ... Variable number of format parameters.
|
||||
* @return Number of characters written to the buffer,
|
||||
@ -170,7 +172,8 @@ native int FormatEx(char[] buffer, int maxlength, const char[] format, any ...);
|
||||
* implementing your own variable argument functions.
|
||||
*
|
||||
* @param buffer Destination string buffer.
|
||||
* @param maxlength Maximum length of output string buffer.
|
||||
* @param maxlength Maximum length of output string buffer,
|
||||
* including the null terminator.
|
||||
* @param format Formatting rules.
|
||||
* @param varpos Argument number which contains the '...' symbol.
|
||||
* Note: Arguments start at 1.
|
||||
|
Loading…
Reference in New Issue
Block a user