|
Ludum Dare 29
HackSoc's entry for the Ludum Dare Jam 29
|

Functions | |
| void | setnext (List *list, List *next) |
| void | setprev (List *list, List *prev) |
| List * | gethead (List *list) |
| List * | gettail (List *list) |
| List * | drop (List *list) |
| List * | dropall (List **items) |
| List * | insert (List *list, List *insert) |
| List * | insertall (List *list, List **items) |
| List * | append (List *target, List *source) |
| unsigned int | length (List *list) |
Appends the source list to the target list. Returns the new head.
| target | The list to append to |
| source | The list to append |


Chop the given item out of the list, updating the prev and next. Returns the head of the list (may not have changed)
| list | The list item to remove |


Remove all the given list items. Returns the new head
| items | List of list items to remove |


Insert an item to a list. Returns the head.
| list | The list to mutate |
| insert | The list item to insert |


Insert all the given items to the list. Returns the new head.
| list | The list to mutate |
| items | List of list items to insert |


| unsigned int length | ( | List * | list | ) |
Get the length of the list
| list | The list |

Set the next entry of a list.
| list | The list to mutate |
| next | The new next entry |

1.8.7