remove_link


Description:

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

Example: Remove a link:

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

unowned SList<int> list4 = list.find (4);
list.remove_link (list4);

// Out:
// ´´1´
// ´´2´´
// ´´3´´
foreach (int i in list) {
print ("%d\n", i);
}

return 0;
}

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