src/cx/linked_list.h

changeset 485
6a86ad3d8c03
parent 484
9e6900b1cf9d
child 486
d7ca126eab7f
equal deleted inserted replaced
484:9e6900b1cf9d 485:6a86ad3d8c03
136 * along a prev pointer whose location within the node struct is 136 * along a prev pointer whose location within the node struct is
137 * denoted by \p loc_prev. 137 * denoted by \p loc_prev.
138 * 138 *
139 * @param node a pointer to a node in the list 139 * @param node a pointer to a node in the list
140 * @param loc_prev the location of the \c prev pointer 140 * @param loc_prev the location of the \c prev pointer
141 * @return a pointer to the first node
141 */ 142 */
142 void *cx_linked_list_first( 143 void *cx_linked_list_first(
143 void *node, 144 void *node,
144 ptrdiff_t loc_prev 145 ptrdiff_t loc_prev
145 ) __attribute__((__nonnull__)); 146 ) __attribute__((__nonnull__));

mercurial