[asterisk-dev] [Code Review] Doubly linked lists unit test and update to implementation.
rmudgett
reviewboard at asterisk.org
Sat Nov 5 17:32:55 CDT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1569/
-----------------------------------------------------------
Review request for Asterisk Developers and Terry Wilson.
Summary
-------
Update the doubly linked list implementation. Now safe traversing can insert before and after the current node when traversing in either direction.
Updated the linked lists unit test test_linkedlist to also test doubly linked lists. The old test_dlinkedlist requires a manual check of results and probably should be removed.
Asterisk currently only uses a small subset of the doubly linked lists macro implementation. It only uses doubly linked lists for the event subscriptions module.
Diffs
-----
/trunk/tests/test_linkedlists.c 343488
/trunk/include/asterisk/dlinkedlists.h 343488
Diff: https://reviewboard.asterisk.org/r/1569/diff
Testing
-------
Old and new unit tests pass.
Thanks,
rmudgett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111105/9f3492d7/attachment.htm>
More information about the asterisk-dev
mailing list