Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for godinu (0.17 sec)

  1. src/cmd/cgo/gcc.go

    func (p *Package) needsPointerCheck(f *File, t ast.Expr, arg ast.Expr) bool {
    	// An untyped nil does not need a pointer check, and when
    	// _cgoCheckPointer returns the untyped nil the type assertion we
    	// are going to insert will fail.  Easier to just skip nil arguments.
    	// TODO: Note that this fails if nil is shadowed.
    	if id, ok := arg.(*ast.Ident); ok && id.Name == "nil" {
    		return false
    	}
    
    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