- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsVar (0.12 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 { prefix := "_C" if strings.HasPrefix(s, prefix) { t := s[len(prefix):]
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0)