summaryrefslogtreecommitdiffstats
path: root/list.h
Commit message (Collapse)AuthorAgeFilesLines
* Add queries to determine if a node is a list sentinalIan Romanick2010-06-111-0/+16
|
* exec_list: Add foreach_list_typed and foreach_list_typed_constIan Romanick2010-05-101-0/+12
| | | | | | These variations are parameterized by the type of the nodes in the list. This enables skipping the explicit usage of exec_node_data in the loop body.
* exec_list: Add simpler exec_list for-each macrosIan Romanick2010-05-101-0/+10
|
* exec_list: Add macros to get ptr to structure containing a nodeIan Romanick2010-05-101-0/+27
| | | | | This has some ugly hackery to work-around C++ fail. I have emperically determined that it works in all the cases that matter.
* Inline functions consisting of a return of an expression.Eric Anholt2010-04-081-0/+11
|
* Fix exec_list::move_nodes_to when the source list is emptyIan Romanick2010-03-311-8/+12
|
* Add missing parenthesis in foreach_iterIan Romanick2010-03-261-1/+1
| | | | This allows uses like 'foreach_iter(exec_list_iterator, iter, *list_ptr)'.
* Add yet-another linked list typeIan Romanick2010-03-081-0/+298
The use of macros to access existing linked list type makes it unsuitable for its current use as a base class. Since this type and the accompanying macros are used all over the place in Mesa, we can't really change them.