mpv/test
wm4 782e428284 misc: add linked list helpers
This provides macros for managing intrusive doubly linked lists.

There are many ways how to do those in a "generic" way in C. For example
Solaris style lists are pretty nice:

https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/sys/list.h
https://github.com/illumos/illumos-gate/blob/master/usr/src/common/list/list.c

I even have an independent implementation of this, which could be ISC
licensed. But I think it's easier to vomit ~100 lines of preprocessor
garbage, which has a lower footprint, and I think it wins slightly on
the side of type safety, simplicity, and ease of use, even if it doesn't
look as magically nice.
2018-05-24 19:56:35 +02:00
..
chmap.c test: update cmocka version to 1.0 2015-06-13 00:01:58 +02:00
chmap_sel.c chmap_sel: prefer inexact equivalents over perfect upmix 2016-01-04 19:17:56 +01:00
gl_video.c tests: stop comparing floats against DBL_EPSILON, use FLT_EPSILON 2018-02-03 13:56:08 -08:00
json.c json: add some non-standard extensions 2018-05-24 19:56:34 +02:00
linked_list.c misc: add linked list helpers 2018-05-24 19:56:35 +02:00
test_helpers.h tests: stop comparing floats against DBL_EPSILON, use FLT_EPSILON 2018-02-03 13:56:08 -08:00