Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for resources (0.23 sec)

  1. src/cmd/cgo/gcc.go

    		ft := f.Type
    
    		// In godefs mode, if this field is a C11
    		// anonymous union then treat the first field in the
    		// union as the field in the struct. This handles
    		// cases like the glibc <sys/resource.h> file; see
    		// issue 6677.
    		if *godefs {
    			if st, ok := f.Type.(*dwarf.StructType); ok && name == "" && st.Kind == "union" && len(st.Field) > 0 && !used[st.Field[0].Name] {
    				name = st.Field[0].Name
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top