On 09/02/2013 10:24 AM, Xavier Hernandez wrote:
* Implement dict_foreach() as a macro (similar to kernel's list_for_each()).

FWIW, a version of dict_foreach_inline is included as part of

        http://review.gluster.org/#/c/5846/

I'm certainly not volunteering to convert existing uses of dict_foreach to use this, because that's a lot of tedious code motion for uncertain benefit, but at least it provides a way for new code to iterate over the contents of a dict inline where that seems natural (as in the gf_authenticate case that inspired it).


_______________________________________________
Gluster-devel mailing list
Gluster-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gluster-devel

Reply via email to