Define RCSW_FPC_NV

Define Documentation

RCSW_FPC_NV(v, ...)

Function pre/post condition macro.

It performs short circuit evaluation, in that if the check for precondition i-1 fails, conditions [i,n] are not checked, and the function returns/program exits (depending on configuration).

v is returned if parameter validation fails. Do not use this macro in functions that return void.

… is a list of conditions that need to be met before the function can execute/must be true when the function returns.