start separating C and CPP functions in generated file