Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for implicit (0.14 sec)

  1. src/cmd/cgo/gcc.go

    	case *dwarf.ArrayType:
    		// Arrays are passed implicitly as pointers in C.
    		// In Go, we must be explicit.
    		tr := &TypeRepr{}
    		tr.Set("%s*", t.C)
    		return &Type{
    			Size:  c.ptrSize,
    			Align: c.ptrSize,
    			Go:    &ast.StarExpr{X: t.Go},
    			C:     tr,
    		}
    	case *dwarf.TypedefType:
    		// C has much more relaxed rules than Go for
    		// implicit type conversions. When the parameter
    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