Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for saveRef (0.2 sec)

  1. src/cmd/cgo/ast.go

    	switch x := x.(type) {
    	case *ast.Expr:
    		switch (*x).(type) {
    		case *ast.SelectorExpr:
    			f.saveRef(x, context)
    		}
    	case *ast.CallExpr:
    		f.saveCall(x, context)
    	}
    }
    
    // Save references to C.xxx for later processing.
    func (f *File) saveRef(n *ast.Expr, context astContext) {
    	sel := (*n).(*ast.SelectorExpr)
    	// For now, assume that the only instance of capital C is when
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top