]> granicus.if.org Git - graphviz/commit
patchwork: replace clist implementation with generic list
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 3 Dec 2022 18:54:23 +0000 (10:54 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 4 Dec 2022 18:02:35 +0000 (10:02 -0800)
commitb10b254860b2bcbc85b9779a2388d33ce8318908
treed560dc4bd60bc8b0637b41ffe3de5453061979c9
parent4460351650475f4e8aa4ef085928e1697776f070
patchwork: replace clist implementation with generic list

This replaces some common/memory.h allocations with cgraph/alloc.h, but more
importantly reduces the amount of code to maintain here. Note that confusingly
the list begins with a NULL entry and is only relevant to store later if we have
accrued more than just the initial NULL.
lib/patchwork/patchworkinit.c