Define RCSW_FPC_RET_NV

Define Documentation

RCSW_FPC_RET_NV(X, v)

Check a single function pre/post condition X, returning a value v if the condition is not met. Requires that the function does not return void. The value to return must be convertible to the return type of the function.

This macro can be used to unconditionally return if a precondition fails, rather than the behavior of RCSW_FPC_NV, which is dependent on the value of RCSW_FPC.