Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for NameLoc (0.16 sec)

  1. src/cmd/cgo/gcc.go

    }
    
    var incomplete = "_cgopackage.Incomplete"
    
    // cname returns the C name to use for C.s.
    // The expansions are listed in nameToC and also
    // struct_foo becomes "struct foo", and similarly for
    // union and enum.
    func cname(s string) string {
    	if t, ok := nameToC[s]; ok {
    		return t
    	}
    
    	if strings.HasPrefix(s, "struct_") {
    		return "struct " + s[len("struct_"):]
    	}
    	if strings.HasPrefix(s, "union_") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top