Refeactoring lang/c/wrapgen