mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 00:12:19 +01:00 
			
		
		
		
	Merge branch 'glist-gslist-nullable-param-docs' into 'main'
Add missing "nullable" to parameter docs of GList/GSList See merge request GNOME/glib!4807
This commit is contained in:
		| @@ -165,7 +165,7 @@ g_list_free_full (GList          *list, | ||||
|  | ||||
| /** | ||||
|  * g_list_append: | ||||
|  * @list: a pointer to a #GList | ||||
|  * @list: (nullable): a pointer to a #GList | ||||
|  * @data: the data for the new element | ||||
|  * | ||||
|  * Adds a new element on to the end of the list. | ||||
| @@ -222,7 +222,7 @@ g_list_append (GList    *list, | ||||
|  | ||||
| /** | ||||
|  * g_list_prepend: | ||||
|  * @list: a pointer to a #GList, this must point to the top of the list | ||||
|  * @list: (nullable): a pointer to a #GList, this must point to the top of the list | ||||
|  * @data: the data for the new element | ||||
|  * | ||||
|  * Prepends a new element on to the start of the list. | ||||
| @@ -269,7 +269,7 @@ g_list_prepend (GList    *list, | ||||
|  | ||||
| /** | ||||
|  * g_list_insert: | ||||
|  * @list: a pointer to a #GList, this must point to the top of the list | ||||
|  * @list: (nullable): a pointer to a #GList, this must point to the top of the list | ||||
|  * @data: the data for the new element | ||||
|  * @position: the position to insert the element. If this is  | ||||
|  *     negative, or is larger than the number of elements in the  | ||||
| @@ -366,7 +366,7 @@ g_list_insert_before_link (GList *list, | ||||
|  | ||||
| /** | ||||
|  * g_list_insert_before: | ||||
|  * @list: a pointer to a #GList, this must point to the top of the list | ||||
|  * @list: (nullable): a pointer to a #GList, this must point to the top of the list | ||||
|  * @sibling: the list element before which the new element  | ||||
|  *     is inserted or %NULL to insert at the end of the list | ||||
|  * @data: the data for the new element | ||||
|   | ||||
| @@ -152,7 +152,7 @@ g_slist_free_full (GSList         *list, | ||||
|  | ||||
| /** | ||||
|  * g_slist_append: | ||||
|  * @list: a #GSList | ||||
|  * @list: (nullable): a #GSList | ||||
|  * @data: the data for the new element | ||||
|  * | ||||
|  * Adds a new element on to the end of the list. | ||||
| @@ -205,7 +205,7 @@ g_slist_append (GSList   *list, | ||||
|  | ||||
| /** | ||||
|  * g_slist_prepend: | ||||
|  * @list: a #GSList | ||||
|  * @list: (nullable): a #GSList | ||||
|  * @data: the data for the new element | ||||
|  * | ||||
|  * Adds a new element on to the start of the list. | ||||
| @@ -238,7 +238,7 @@ g_slist_prepend (GSList   *list, | ||||
|  | ||||
| /** | ||||
|  * g_slist_insert: | ||||
|  * @list: a #GSList | ||||
|  * @list: (nullable): a #GSList | ||||
|  * @data: the data for the new element | ||||
|  * @position: the position to insert the element. | ||||
|  *     If this is negative, or is larger than the number | ||||
| @@ -289,7 +289,7 @@ g_slist_insert (GSList   *list, | ||||
|  | ||||
| /** | ||||
|  * g_slist_insert_before: | ||||
|  * @slist: a #GSList | ||||
|  * @slist: (nullable): a #GSList | ||||
|  * @sibling: node to insert @data before | ||||
|  * @data: data to put in the newly-inserted node | ||||
|  * | ||||
|   | ||||
		Reference in New Issue
	
	Block a user