Define RCSW_VAR_NARG
Defined in File common.h
Define Documentation
-
RCSW_VAR_NARG(...)
Tricky preprocessor awesomeness to get the # of arguments passed to a variadac macro.
It works by using the fact that VA_ARGS is a comma-separated list of arguments to determine an offset within the list of #’s that corresponds to the # of arguments passed to the macro. Works with up to 100 arguments.