- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsVar (0.07 sec)
-
src/cmd/cgo/gcc.go
func (p *Package) mangleName(n *Name) { // When using gccgo variables have to be // exported so that they become global symbols // that the C code can refer to. prefix := "_C" if *gccgo && n.IsVar() { prefix = "C" } n.Mangle = prefix + n.Kind + "_" + n.Go } func (f *File) isMangledName(s string) bool { t, ok := strings.CutPrefix(s, "_C") if !ok { return false }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0)