src/cx/linked_list.h

changeset 878
1c1ee61c01f9
parent 855
35bcb3216c0d
child 879
9c24a4eb5ac9
equal deleted inserted replaced
877:608b14deea18 878:1c1ee61c01f9
280 * @param begin a pointer to the begin node pointer (if your list has one) 280 * @param begin a pointer to the begin node pointer (if your list has one)
281 * @param end a pointer to the end node pointer (if your list has one) 281 * @param end a pointer to the end node pointer (if your list has one)
282 * @param loc_prev the location of a \c prev pointer within your node struct (negative if your struct does not have one) 282 * @param loc_prev the location of a \c prev pointer within your node struct (negative if your struct does not have one)
283 * @param loc_next the location of a \c next pointer within your node struct (required) 283 * @param loc_next the location of a \c next pointer within your node struct (required)
284 * @param node the node after which to insert (\c NULL if you want to prepend the node to the list) 284 * @param node the node after which to insert (\c NULL if you want to prepend the node to the list)
285 * @param new_node a pointer to the node that shall be prepended 285 * @param new_node a pointer to the node that shall be inserted
286 */ 286 */
287 void cx_linked_list_insert( 287 void cx_linked_list_insert(
288 void **begin, 288 void **begin,
289 void **end, 289 void **end,
290 ptrdiff_t loc_prev, 290 ptrdiff_t loc_prev,

mercurial