ParentFull threadgallier2·Since C11 there's _Generic which allows to do it. Using macros in that case is strongly advised (or else it would be very verbose).View on HN