Define RCSW_MIN_
Defined in File common.h
Define Documentation
-
RCSW_MIN_(t1, t2, min1, min2, a, b)
Gets the minimum of (
a
,b
) while also performing a type comparison. If the arguments do not have the same type, a compiler warning will be issued. You have to EXPLICITLY cast, which is a good thing. Don’t want to get weird behavior when taking the max/min of different types.The type checking will be compiled away at high optimization levels.