Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _Ctype_union_ (0.31 sec)

  1. src/cmd/cgo/out.go

    		var buf bytes.Buffer
    		noSourceConf.Fprint(&buf, fset, def.Go)
    		if bytes.HasPrefix(buf.Bytes(), []byte("_Ctype_")) ||
    			strings.HasPrefix(name, "_Ctype_enum_") ||
    			strings.HasPrefix(name, "_Ctype_union_") {
    			// This typedef is of the form `typedef a b` and should be an alias.
    			fmt.Fprintf(fgo2, "= ")
    		}
    		fmt.Fprintf(fgo2, "%s", buf.Bytes())
    		fmt.Fprintf(fgo2, "\n\n")
    	}
    	if *gccgo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    func isStructUnionClass(x ast.Expr) bool {
    	id, ok := x.(*ast.Ident)
    	if !ok {
    		return false
    	}
    	name := id.Name
    	return strings.HasPrefix(name, "_Ctype_struct_") ||
    		strings.HasPrefix(name, "_Ctype_union_") ||
    		strings.HasPrefix(name, "_Ctype_class_")
    }
    
    // FuncArg returns a Go type with the same memory layout as
    // dtype when used as the type of a C function argument.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top