Re:Show HN: libcodr7 – fundamental collections in the spirit...
by codr7 on Monday December 30, 2019 @02:02PM
(#21915777)
Sorry, didn't get around to that yet as it's trivial and used enough internally that I figured it has enough test coverage for now. The c7_list struct is embedded in the items, rbpool [0] uses it to keep track of nodes [1] and slabs [2] for example. Note that the same structure is used as root.
[0] https://github.com/codr7/libcodr7/blob/master/source/codr7/r...
[1] https://github.com/codr7/libcodr7/blob/master/source/codr7/r...
[2] https://github.com/codr7/libcodr7/blob/master/source/codr7/r...