Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EnumValues (0.07 sec)

  1. src/cmd/cgo/gcc.go

    	case *dwarf.EnumType:
    		if t.Align = t.Size; t.Align >= c.ptrSize {
    			t.Align = c.ptrSize
    		}
    		t.C.Set("enum " + dt.EnumName)
    		signed := 0
    		t.EnumValues = make(map[string]int64)
    		for _, ev := range dt.Val {
    			t.EnumValues[ev.Name] = ev.Val
    			if ev.Val < 0 {
    				signed = signedDelta
    			}
    		}
    		switch t.Size + int64(signed) {
    		default:
    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