Change MultiTargetFilter to a typeset that allows ArrayList as its second argument. (#955)
This commit is contained in:
		
							parent
							
								
									c501c837d0
								
							
						
					
					
						commit
						45fb26d282
					
				@ -139,7 +139,10 @@ stock void ReplyToTargetError(int client, int reason)
 | 
				
			|||||||
 * @param clients       Array to fill with unique, valid client indexes.
 | 
					 * @param clients       Array to fill with unique, valid client indexes.
 | 
				
			||||||
 * @return              True if pattern was recognized, false otherwise.
 | 
					 * @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().
 | 
					 * Adds a multi-target filter function for ProcessTargetString().
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user