ENH: macro replacement for repeated c and cpp rules