mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-25 06:22:15 +02:00 
			
		
		
		
	garray: Add missing (transfer) and (nullable) return annotations
This commit only looks at the `Returns:` lines in the documentation, and has examined all of them in the file. Function arguments have not been checked. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #2227
This commit is contained in:
		| @@ -1421,8 +1421,8 @@ g_ptr_array_unref (GPtrArray *array) | |||||||
|  * threads, use only the atomic g_ptr_array_ref() and g_ptr_array_unref() |  * threads, use only the atomic g_ptr_array_ref() and g_ptr_array_unref() | ||||||
|  * functions. |  * functions. | ||||||
|  * |  * | ||||||
|  * Returns: the pointer array if @free_seg is %FALSE, otherwise %NULL. |  * Returns: (transfer full) (nullable): the pointer array if @free_seg is | ||||||
|  *     The pointer array should be freed using g_free(). |  *     %FALSE, otherwise %NULL. The pointer array should be freed using g_free(). | ||||||
|  */ |  */ | ||||||
| gpointer* | gpointer* | ||||||
| g_ptr_array_free (GPtrArray *array, | g_ptr_array_free (GPtrArray *array, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user