Define RCSW_XFOR_EACH1_NOTAIL
Defined in File common.h
Define Documentation
-
RCSW_XFOR_EACH1_NOTAIL(action, ...)
Call
action
on the current THING passed in the varargs list.action
needs to have the following signature (as a macro or function):mymacro(X)
where
X
is the current THING passed in varargs. Identical to RCSW_XFOR_EACH1 EXCEPT the last item in the varargs list will NOT have theaction
called on it. This results in:"foo" "_" "bar" "_" "baz"
generated from
. Using RCSW_XFOR_EACH1 you would get:foo,bar,baz
"foo" "_" "bar" "_" "baz" "_"