Commit Graph
1 Commits
Author SHA1 Message Date
Ben Pfaff 9b45107fb7 Improve list traversal macros.
Make LIST_FOR_EACH[_SAFE] variable take logically correct value upon loop termination.

Also, add regression tests for linked list routines, to ensure that this
change does not break code.

Also, add new macro LIST_FOR_EACH_REVERSE.
2008-04-26 14:03:16 -07:00