Add a for_each_string_list_item macro
commit8d31635ce22a5ff35d6b023dca6438c09cf49dc9
authorAlex Riesen <raa.lkml@gmail.com>
Sat, 3 Jul 2010 12:40:04 +0000 (3 14:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Jul 2010 18:44:24 +0000 (5 11:44 -0700)
tree5fa9620895f1739b701abaf7e959e9bf73a30a42
parent45e9a825edf9064ff76f6ff10357fdc79497f0eb
Add a for_each_string_list_item macro

This is more lightweight than a call to for_each_string_list function with
callback function and a cookie argument.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
string-list.h