commit | 82df92545198ca1c0e69e3664cf4a3f0545498ec | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Jul 07 01:43:42 2013 -1000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Jul 07 01:43:42 2013 -1000 |
tree | 03b73735d530a0ee551e999697cee3faf05749c9 | |
parent | 0cb2aafb362c8ee6c22d2c57664eae7069016dd0 [diff] |
Use macros for marking and checking endpoints in the doubly-linked list of blocks. * Add comment explaining the endpoint checks * Only do the checks in a debug build * Simplify newblock() to only require a length argument and leave the link updates to the calling code. * Also add comment for the freelisting logic.