Define RCSW_XFOR_EACH2

Define Documentation

RCSW_XFOR_EACH2(action, v, ...)

Call action on the current THING passed in the varargs list.

An additional argument X is passed to each invocation, so action needs to have the following signature (as a macro or function):

mymacro(X,V)

where X is the current THING passed in varargs, and v is the additional parameter.