Changed some tags to "any" where appropriate (did I miss anything?)

Plus some other strange things...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40640
This commit is contained in:
Scott Ehlert 2007-03-16 20:39:32 +00:00
parent bb40b22125
commit 5187ea1903
7 changed files with 20 additions and 20 deletions

View File

@ -210,7 +210,7 @@ native AdminId:GetUserAdmin(client);
* @noreturn
* @error Invalid client index, or client not connected.
*/
native AddUserFlags(client, {AdminFlag}:...);
native AddUserFlags(client, AdminFlag:...);
/**
* Removes flags from a client. If the client is not an admin,
@ -221,7 +221,7 @@ native AddUserFlags(client, {AdminFlag}:...);
* @noreturn
* @error Invalid client index, or client not connected.
*/
native RemoveUserFlags(client, {AdminFlag}:...);
native RemoveUserFlags(client, AdminFlag:...);
/**
* Sets access flags on a client using bits instead of flags. If the

View File

@ -63,7 +63,7 @@
* @param ... Variable number of format parameters.
* @noreturn
*/
native ServerCommand(const String:format[], {Handle,Float,String,_}:...);
native ServerCommand(const String:format[], any:...);
/**
* Inserts a server command at the beginning of the server command buffer.
@ -72,7 +72,7 @@ native ServerCommand(const String:format[], {Handle,Float,String,_}:...);
* @param ... Variable number of format parameters.
* @noreturn
*/
native InsertServerCommand(const String:format[], {Handle,Float,String,_}:...);
native InsertServerCommand(const String:format[], any:...);
/**
* Executes every command in the server's command buffer, rather than once per frame.
@ -91,7 +91,7 @@ native ServerExecute();
* @noreturn
* @error Invalid client index, or client not connected.
*/
native ClientCommand(client, const String:fmt[], {String,Float,Handle,Function,_}:...);
native ClientCommand(client, const String:fmt[], any:...);
/**
* Sends a message to the server console.
@ -100,7 +100,7 @@ native ClientCommand(client, const String:fmt[], {String,Float,Handle,Function,_
* @param ... Variable number of format parameters.
* @noreturn
*/
native PrintToServer(const String:format[], {Handle,Float,String,Function,_}:...);
native PrintToServer(const String:format[], any:...);
/**
* Sends a message to a client's console.
@ -111,7 +111,7 @@ native PrintToServer(const String:format[], {Handle,Float,String,Function,_}:...
* @noreturn
* @error If the client is not connected an error will be thrown.
*/
native PrintToConsole(client, const String:format[], {Handle,Float,String,Function,_}:...);
native PrintToConsole(client, const String:format[], any:...);
/**
* Called when a server-only command is invoked.

View File

@ -54,7 +54,7 @@ enum PathType
* @param ... Format arguments.
* @return Number of bytes written to buffer (not including null terminator).
*/
native BuildPath(PathType:type, String:buffer[], maxlength, const String:fmt[], {Handle,Float,String,Function,_}:...);
native BuildPath(PathType:type, String:buffer[], maxlength, const String:fmt[], any:...);
/**
* @brief Opens a directory/folder for contents enumeration.
@ -186,4 +186,4 @@ native bool:RemoveDir(const String:path[]);
* @param ... Variable number of format parameters.
* @return True on success, false otherwise.
*/
native bool:WriteFileLine(Handle:hndl, const String:format[], {Handle,Float,String,Function,_}:...);
native bool:WriteFileLine(Handle:hndl, const String:format[], any:...);

View File

@ -109,7 +109,7 @@ native Function:GetFunctionByName(Handle:plugin, const String:name[]);
* @return Handle to new global forward.
* @error More than 32 paramater types passed.
*/
native Handle:CreateGlobalForward(const String:name[], ExecType:type, {ParamType}:...);
native Handle:CreateGlobalForward(const String:name[], ExecType:type, ParamType:...);
/**
* Creates a private forward.
@ -121,7 +121,7 @@ native Handle:CreateGlobalForward(const String:name[], ExecType:type, {ParamType
* @return Handle to new private forward.
* @error More than 32 paramater types passed.
*/
native Handle:CreateForward(ExecType:type, {ParamType}:...);
native Handle:CreateForward(ExecType:type, ParamType:...);
/**
* Returns the number of functions in a global or private forward's call list.
@ -348,7 +348,7 @@ native CreateNative(const String:name[], NativeCall:func);
* @param fmt Error message format.
* @param ... Format arguments.
*/
native ThrowNativeError(error, const String:fmt[], {Handle,Float,String,Function,_}:...);
native ThrowNativeError(error, const String:fmt[], any:...);
/**
* Retrieves the string length from a native parameter string. This is useful

View File

@ -110,4 +110,4 @@ funcenum SortFunc2D
* @param hndl Optional Handle to pass through the comparison calls.
* @noreturn
*/
native SortCustom2D(array[][], array_size, SortFunc2D:sortfunc, Handle:hndl=INVALID_HANDLE);
native SortCustom2D(array[][], array_size, SortFunc2D:sortfunc, Handle:hndl=INVALID_HANDLE);

View File

@ -189,7 +189,7 @@ native bool:GetPluginInfo(Handle:plugin, PluginInfo:info, String:buffer[], maxle
* @noreturn
* @error Always!
*/
native ThrowError(const String:fmt[], {Handle,Float,String,Function,_}:...);
native ThrowError(const String:fmt[], any:...);
/**
* Logs a generic message to the HL2 logs.
@ -198,7 +198,7 @@ native ThrowError(const String:fmt[], {Handle,Float,String,Function,_}:...);
* @param ... Format arguments.
* @noreturn
*/
native LogToGame(const String:format[], {Handle,Float,String,Function,_}:...);
native LogToGame(const String:format[], any:...);
/**
* Logs a plugin message to the SourceMod logs.
@ -207,7 +207,7 @@ native LogToGame(const String:format[], {Handle,Float,String,Function,_}:...);
* @param ... Format arguments.
* @noreturn
*/
native LogMessage(const String:format[], {Handle,Float,String,Function,_}:...);
native LogMessage(const String:format[], any:...);
/**
* Logs a plugin error message to the SourceMod logs.
@ -216,7 +216,7 @@ native LogMessage(const String:format[], {Handle,Float,String,Function,_}:...);
* @param ... Format arguments.
* @noreturn
*/
native LogError(const String:format[], {Handle,Float,String,Function,_}:...);
native LogError(const String:format[], any:...);
/**
* Gets the system time as a unix timestamp.

View File

@ -93,7 +93,7 @@ native StrCopy(String:dest[], destLen, const String:source[]);
* @param ... Variable number of format parameters.
* @return Number of cells written.
*/
native Format(String:buffer[], maxlength, const String:format[], {Handle,Float,String,Function,_}:...);
native Format(String:buffer[], maxlength, const String:format[], any:...);
/**
* Formats a string according to the SourceMod format rules (see documentation).
@ -106,7 +106,7 @@ native Format(String:buffer[], maxlength, const String:format[], {Handle,Float,S
* @param ... Variable number of format parameters.
* @return Number of cells written.
*/
native FormatEx(String:buffer[], maxlength, const String:format[], {Handle,Float,String,Function,_}:...);
native FormatEx(String:buffer[], maxlength, const String:format[], any:...);
/**
* Formats a string according to the SourceMod format rules (see documentation).
@ -172,4 +172,4 @@ native FloatToString(Float:num, String:str[], maxlength);
* @param argLen Maximum length of argument buffer.
* @return Index to next piece of string, or -1 if none.
*/
native StrBreak(const String:source[], String:arg[], argLen);
native StrBreak(const String:source[], String:arg[], argLen);