deleteLink

fun deleteLink(list: List, link: List): List

Removes the node link_ from the list and frees it. Compare this to g_list_remove_link() which removes the node without freeing it.

Return

the (possibly changed) start of the #GList

Parameters

list

a #GList, this must point to the top of the list

link

node to delete from @list