More TODOs. I have to really think about this API and build a point-by-point test...

This commit is contained in:
Pietro Gagliardi 2017-11-04 20:47:09 -04:00
parent d44c20c4a1
commit ca5a5f1f72
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ The list is kept sorted in increasing order by start position. Whether or not th
Overlapping attributes are not allowed; if an attribute is added that conflicts with an existing one, the existing one is removed.
In addition, the linked list tries to reduce fragmentation: if an attribute is added that just expands another, then there will only be one entry in alist, not two. (TODO does it really?)
The linked list is not a ring; alist->fist->prev == NULL and alist->last->next == NULL.
TODO verify that this disallows attributes of length zero
*/
struct attr {