mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Rename Array.invert() to Array.reverse()
Does the same internally for List and Vector<>, which includes all PackedArray types.
This commit is contained in:
		
							parent
							
								
									07f076fa4f
								
							
						
					
					
						commit
						755c70b871
					
				
					 35 changed files with 57 additions and 57 deletions
				
			
		|  | @ -298,7 +298,7 @@ struct GDScriptUtilityFunctionsDefinitions { | |||
| 					sname.push_back(p->name); | ||||
| 					p = p->_owner; | ||||
| 				} | ||||
| 				sname.invert(); | ||||
| 				sname.reverse(); | ||||
| 
 | ||||
| 				if (!p->path.is_resource_file()) { | ||||
| 					r_error.error = Callable::CallError::CALL_ERROR_INVALID_ARGUMENT; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Marcel Admiraal
						Marcel Admiraal