Change MultiTargetFilter to a typeset that allows ArrayList as its second argument. (#955)

This commit is contained in:
Ross Bemrose
2019-02-03 13:27:26 -08:00
committed by Michael Flaherty
parent c501c837d0
commit 45fb26d282
+4 -1
View File
@@ -139,7 +139,10 @@ stock void ReplyToTargetError(int client, int reason)
* @param clients Array to fill with unique, valid client indexes.
* @return True if pattern was recognized, false otherwise.
*/
typedef MultiTargetFilter = function bool (const char[] pattern, Handle clients);
typeset MultiTargetFilter {
function bool (const char[] pattern, Handle clients);
function bool (const char[] pattern, ArrayList clients);
}
/**
* Adds a multi-target filter function for ProcessTargetString().