[ccan] [PATCH 3/5] list: new list_for_each{, _safe}_off_dir_ macros

David Gibson david at gibson.dropbear.id.au
Mon Nov 3 20:14:53 AEDT 2014


On Fri, Oct 24, 2014 at 10:02:30PM +0000, Eric Wong wrote:
> These internal iteration macros will make implementing reverse
> iteration simpler.  For now, reimplement existing list_for_each_off
> and list_for_each_safe_off macros on top of these macros to
> prove they pass existing tests.
> 
> 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_!
http://www.ozlabs.org/~dgibson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20141103/f0b8496c/attachment.sig>


More information about the ccan mailing list