]> git.neil.brown.name Git - edlib.git/commit
Change hlist to make the head directlry recognisable.
authorNeilBrown <neil@brown.name>
Thu, 10 Dec 2015 01:21:18 +0000 (12:21 +1100)
committerNeilBrown <neil@brown.name>
Thu, 10 Dec 2015 02:54:09 +0000 (13:54 +1100)
commit85685c1ce5ea788fe9b9fec9be87a8b6d9034da5
tree178ed13d902819b333919cbf073e1f9fe0c3d34a
parent829e590a4085d422b4270c3d5bf54fe2ac7873cb
Change hlist to make the head directlry recognisable.

Store a least-significant-bit in the pointer in the 'head'
so that we can recognise the start of the list without carrying
around the pointer to the head.

This allows free movement around marks without holding the doc.

Signed-off-by: NeilBrown <neil@brown.name>
core-doc.c
core-mark.c
doc-text.c
list.h