[ccan] [PATCH 2/1] list: list_swap to exchange elements
david at gibson.dropbear.id.au
Wed Sep 10 22:51:08 EST 2014
On Wed, Sep 10, 2014 at 01:58:47AM +0000, Eric Wong wrote:
> This allows deleting and re-inserting an element in place
> of the deleted element without branching.
> Signed-off-by: Eric Wong <normalperson at yhbt.net>
Reviewed-by: David Gibson <david at gibson.dropbear.id.au>
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the ccan