Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for anonymousStructTypedef (0.16 sec)

  1. src/cmd/cgo/gcc.go

    				prefix = n.Name[:i+1]
    			} else if prefix != n.Name[:i+1] {
    				return ""
    			}
    		}
    	}
    	return prefix
    }
    
    // anonymousStructTypedef reports whether dt is a C typedef for an anonymous
    // struct.
    func (c *typeConv) anonymousStructTypedef(dt *dwarf.TypedefType) bool {
    	st, ok := dt.Type.(*dwarf.StructType)
    	return ok && st.StructName == ""
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top