Generic algorithms and datastructures for C.
- dynamic hashtable
- dynamic array / list
- heap queue
- circular queue
- stack
- string
- linked list
- singly linked
- doubly linked
- binary search tree
- insertion sort
- quicksort
- heapsort
- bubblesort
Macro's:
- All caps name.
- Multiline do ... while(0)
Functions:
- Static functions are prefixed with "__".
- Newline for first bracket.
Structs:
- Snake case name suffixed with a "_t"
- No typedef
General:
- Use booleans
- Follow this, mostly: https://userpages.umbc.edu/~rostamia/cbook/CodingStyle.html.