cpp to c extension