mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	gio: Document that g_inet_address_new_* return value must be g_object_unref'ed
This commit is contained in:
		@@ -476,6 +476,7 @@ inet_ntop (gint family,
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 * Returns: a new #GInetAddress corresponding to @string, or %NULL if
 | 
					 * Returns: a new #GInetAddress corresponding to @string, or %NULL if
 | 
				
			||||||
 * @string could not be parsed.
 | 
					 * @string could not be parsed.
 | 
				
			||||||
 | 
					 *     Free the returned object with g_object_unref().
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Since: 2.22
 | 
					 * Since: 2.22
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@@ -513,6 +514,7 @@ g_inet_address_new_from_string (const gchar *string)
 | 
				
			|||||||
 * %G_SOCKET_FAMILY_IPV6.
 | 
					 * %G_SOCKET_FAMILY_IPV6.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Returns: a new #GInetAddress corresponding to @family and @bytes.
 | 
					 * Returns: a new #GInetAddress corresponding to @family and @bytes.
 | 
				
			||||||
 | 
					 *     Free the returned object with g_object_unref().
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Since: 2.22
 | 
					 * Since: 2.22
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@@ -536,6 +538,7 @@ g_inet_address_new_from_bytes (const guint8         *bytes,
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 * Returns: a new #GInetAddress corresponding to the loopback address
 | 
					 * Returns: a new #GInetAddress corresponding to the loopback address
 | 
				
			||||||
 * for @family.
 | 
					 * for @family.
 | 
				
			||||||
 | 
					 *     Free the returned object with g_object_unref().
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Since: 2.22
 | 
					 * Since: 2.22
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@@ -563,6 +566,7 @@ g_inet_address_new_loopback (GSocketFamily family)
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 * Returns: a new #GInetAddress corresponding to the "any" address
 | 
					 * Returns: a new #GInetAddress corresponding to the "any" address
 | 
				
			||||||
 * for @family.
 | 
					 * for @family.
 | 
				
			||||||
 | 
					 *     Free the returned object with g_object_unref().
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Since: 2.22
 | 
					 * Since: 2.22
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user