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