From 7d524e4179b692a784f246e1e2a283cc7f943124 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Thu, 24 Apr 2008 10:25:27 +0000 Subject: [PATCH] Added any tag to ADT array functions to fix potential tag mismatches --HG-- branch : sourcemod-1.0.x extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402093 --- plugins/include/adt.inc | 2 +- plugins/include/adt_array.inc | 8 ++++---- plugins/include/adt_trie.inc | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/include/adt.inc b/plugins/include/adt.inc index 5fb58bf0..62097783 100644 --- a/plugins/include/adt.inc +++ b/plugins/include/adt.inc @@ -1,7 +1,7 @@ /** * vim: set ts=4 : * ============================================================================= - * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved. + * SourceMod (C)2004-2008 AlliedModders LLC. All rights reserved. * ============================================================================= * * This file is part of the SourceMod/SourcePawn SDK. diff --git a/plugins/include/adt_array.inc b/plugins/include/adt_array.inc index d92a8cf4..1c9adda6 100644 --- a/plugins/include/adt_array.inc +++ b/plugins/include/adt_array.inc @@ -1,7 +1,7 @@ /** * vim: set ts=4 : * ============================================================================= - * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved. + * SourceMod (C)2004-2008 AlliedModders LLC. All rights reserved. * ============================================================================= * * This file is part of the SourceMod/SourcePawn SDK. @@ -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 diff --git a/plugins/include/adt_trie.inc b/plugins/include/adt_trie.inc index b777d41d..63750099 100644 --- a/plugins/include/adt_trie.inc +++ b/plugins/include/adt_trie.inc @@ -1,7 +1,7 @@ /** * vim: set ts=4 : * ============================================================================= - * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved. + * SourceMod (C)2004-2008 AlliedModders LLC. All rights reserved. * ============================================================================= * * This file is part of the SourceMod/SourcePawn SDK. @@ -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.