/doublylinkedlist

An implementation of a doubly linked list in C

Primary LanguageCGNU Lesser General Public License v2.1LGPL-2.1

WIP

A free (as in freedom) implementation of a heterogenous doubly linked list in C, which means it can contain different data types (i.e strings, ints).
It can be built as a static object with make object and linked to any program you want including doublylinkedlist.h.
It is not by any mean secure or mature, and still lacks some functions, use with caution.
Valgrind reports no memory leaks when correctly using the implementation (see main.c and run make valgrind).

Build

make object creates a static library in libdoublylinkedlist.a.
make build creates a static library and builds the example in main.c.
make run does the same thing as make build but runs it and cleans up after.