Commit 0b993846 authored by Sebastien Alaiwan's avatar Sebastien Alaiwan

Simplify FOREACH_STREAM

With C99 we can now declare iterators inside the 'for' statements,
allowing a better syntax for this macro.
This new syntax accepts #if/#endif inside the loop body,
and makes explicit, at loop body level, what the iterator name is.

Change-Id: Icbd363a34a9264ff566ee8057c08a705736b509f
parent 2e5933f5
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment