remove_link


Description:

[ ReturnsModifiedPointer ]
public void remove_link (List<G> llink)

Example: Remove a link:

public static int main (string[] args) {
List<string> list = new List<string> ();
list.append ("1. entry");
list.append ("2. entry");
list.append ("3. entry");
list.append ("4. entry");

unowned List<string> entry4 = list.find_custom ("4. entry", strcmp);
list.remove_link (entry4);

// Output:
// ``1. entry``
// ``2. entry``
// ``3. entry``
foreach (string str in list) {
print ("%s\n", str);
}

return 0;
}

valac --pkg glib-2.0 GLib.List.remove_link.vala