delete_link
Description:
Example: Delete 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");
unowned List<string> scnd = list.nth (1);
list.delete_link (scnd);
// Output:
// ``List:``
// `` 1. entry``
// `` 3. entry``
print ("List:\n");
foreach (unowned string e in list) {
print (" %s\n", e);
}
return 0;
}
valac --pkg glib-2.0 GLib.List.delete_link.vala