Simple C stub generator