Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for packedAttribute (0.29 sec)

  1. src/cmd/cgo/out.go

    	fmt.Fprintf(fgcc, "\n")
    }
    
    // packedAttribute returns host compiler struct attribute that will be
    // used to match gc's struct layout. For example, on 386 Windows,
    // gcc wants to 8-align int64s, but gc does not.
    // Use __gcc_struct__ to work around https://gcc.gnu.org/PR52991 on x86,
    // and https://golang.org/issue/5603.
    func (p *Package) packedAttribute() string {
    	s := "__attribute__((__packed__"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top