mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 16:32:18 +01:00 
			
		
		
		
	glib/mappedfile: g_mapped_file_get_contents() does not transfer
This fixes the annoations for g_mapped_file_get_contents() which looks like it might transfer ownership (due to being a char*) but does not as we're pointing into the mmap() region.
This commit is contained in:
		| @@ -340,7 +340,7 @@ g_mapped_file_get_length (GMappedFile *file) | ||||
|  * | ||||
|  * If the file is empty then %NULL is returned. | ||||
|  * | ||||
|  * Returns: the contents of @file, or %NULL. | ||||
|  * Returns: (transfer none) (nullable): the contents of @file, or %NULL. | ||||
|  * | ||||
|  * Since: 2.8 | ||||
|  */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user