GetCmdArg() and GetCmdArgString() now return a string length
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401427
This commit is contained in:
@@ -338,7 +338,7 @@ native GetCmdArgs();
|
||||
* @param argnum Argument number to retrieve.
|
||||
* @param buffer Buffer to use for storing the string.
|
||||
* @param maxlength Maximum length of the buffer.
|
||||
* @noreturn
|
||||
* @return Length of string written to buffer.
|
||||
*/
|
||||
native GetCmdArg(argnum, String:buffer[], maxlength);
|
||||
|
||||
@@ -348,7 +348,7 @@ native GetCmdArg(argnum, String:buffer[], maxlength);
|
||||
*
|
||||
* @param buffer Buffer to use for storing the string.
|
||||
* @param maxlength Maximum length of the buffer.
|
||||
* @noreturn
|
||||
* @return Length of string written to buffer.
|
||||
*/
|
||||
native GetCmdArgString(String:buffer[], maxlength);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user