You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/04/11 12:33:21 UTC
[GitHub] [mynewt-core] sdalu commented on issue #1755: update queue.h
sdalu commented on issue #1755: update queue.h
URL: https://github.com/apache/mynewt-core/issues/1755#issuecomment-482095392
Being able to retrieve the previous element of a double linked list (LIST_PREV) is the obvious missing macro from the current queue.h
Other benefits:
* *_SAFE variants, allowing removal of element during FOREACH
* new manipulation macros: *_SWAP, *_REMOVE_AFTER, *_CONCAT
* debugging support
The idea is not to reinvent the wheel for such common operations
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services