Added any tag to ADT array functions to fix potential tag mismatches
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402094
This commit is contained in:
parent
47f8d0eef5
commit
21c0466b3d
@ -85,8 +85,8 @@ native ClearArray(Handle:array);
|
||||
* no relation to the original. You MUST close it.
|
||||
*
|
||||
* @param array Array handle to be cloned
|
||||
* @return New handle to the cloned array object
|
||||
* @error Invalid Handle
|
||||
* @return New handle to the cloned array object
|
||||
* @error Invalid Handle
|
||||
*/
|
||||
native Handle:CloneArray(Handle:array);
|
||||
|
||||
@ -147,7 +147,7 @@ native PushArrayString(Handle:array, const String:value[]);
|
||||
* @return Index of the new entry.
|
||||
* @error Invalid Handle or out of memory.
|
||||
*/
|
||||
native PushArrayArray(Handle:array, const values[], size=-1);
|
||||
native PushArrayArray(Handle:array, const any:values[], size=-1);
|
||||
|
||||
/**
|
||||
* Retrieves a cell value from an array.
|
||||
@ -185,7 +185,7 @@ native GetArrayString(Handle:array, index, String:buffer[], maxlength);
|
||||
* @return Number of cells copied.
|
||||
* @error Invalid Handle or invalid index.
|
||||
*/
|
||||
native GetArrayArray(Handle:array, index, buffer[], size=-1);
|
||||
native GetArrayArray(Handle:array, index, any:buffer[], size=-1);
|
||||
|
||||
/**
|
||||
* Sets a cell value in an array.
|
||||
@ -223,7 +223,7 @@ native SetArrayString(Handle:array, index, const String:buffer[]);
|
||||
* @return Number of cells copied.
|
||||
* @error Invalid Handle or invalid index.
|
||||
*/
|
||||
native SetArrayArray(Handle:array, index, const values[], size=-1);
|
||||
native SetArrayArray(Handle:array, index, const any:values[], size=-1);
|
||||
|
||||
/**
|
||||
* Shifts an array up. All array contents after and including the given
|
||||
|
@ -92,7 +92,7 @@ native PushStackString(Handle:stack, const String:value[]);
|
||||
* @noreturn
|
||||
* @error Invalid Handle or out of memory.
|
||||
*/
|
||||
native PushStackArray(Handle:stack, const values[], size=-1);
|
||||
native PushStackArray(Handle:stack, const any:values[], size=-1);
|
||||
|
||||
/**
|
||||
* Pops a cell value from a stack.
|
||||
@ -128,7 +128,7 @@ native bool:PopStackString(Handle:stack, String:buffer[], maxlength, &written=0)
|
||||
* @return True on success, false if the stack is empty.
|
||||
* @error Invalid Handle.
|
||||
*/
|
||||
native bool:PopStackArray(Handle:stack, buffer[], size=-1);
|
||||
native bool:PopStackArray(Handle:stack, any:buffer[], size=-1);
|
||||
|
||||
/**
|
||||
* Checks if a stack is empty.
|
||||
|
@ -72,7 +72,7 @@ native bool:SetTrieValue(Handle:trie, const String:key[], any:value, bool:replac
|
||||
* @return True on success, false on failure.
|
||||
* @error Invalid Handle.
|
||||
*/
|
||||
native bool:SetTrieArray(Handle:trie, const String:key[], const array[], num_items, bool:replace=true);
|
||||
native bool:SetTrieArray(Handle:trie, const String:key[], const any:array[], num_items, bool:replace=true);
|
||||
|
||||
/**
|
||||
* Sets a string value in a Trie, either inserting a new entry or replacing an old one.
|
||||
@ -111,7 +111,7 @@ native bool:GetTrieValue(Handle:trie, const String:key[], &any:value);
|
||||
* as a value or string (not an array).
|
||||
* @error Invalid Handle.
|
||||
*/
|
||||
native bool:GetTrieArray(Handle:trie, const String:key[], array[], max_size, &size=0);
|
||||
native bool:GetTrieArray(Handle:trie, const String:key[], any:array[], max_size, &size=0);
|
||||
|
||||
/**
|
||||
* Retrieves a string in a Trie.
|
||||
|
Loading…
Reference in New Issue
Block a user