func (pac *Package) newVariable(t *gcc.Variable) *Variable { v := &Variable{ baseCNamer: newExported(t), cgoName: cgoName(t.CName()), conv: pac.declareEqualType(t.CType()).(Type), } return v }
func (pac *Package) newVariable(t *gcc.Variable) Variable { return Variable{ exported: exported{ cName: t.CName(), file: t.File(), }, Namer: namer{ goName: pac.globalName(t), cgoName: "C." + t.CName(), }, conv: pac.getNamer(t.CType()).(Conv), } }