- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isMangledName (0.11 sec)
-
src/cmd/cgo/gcc.go
// 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 } return slices.ContainsFunc(nameKinds, func(k string) bool { return strings.HasPrefix(t, k+"_") }) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0)