Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _Cfunc_ (0.11 sec)

  1. src/cmd/cgo/gcc.go

    	var goname string
    	switch fun := call.Call.Fun.(type) {
    	case *ast.SelectorExpr:
    		goname = fun.Sel.Name
    	case *ast.Ident:
    		goname = strings.TrimPrefix(fun.Name, "_C2func_")
    		goname = strings.TrimPrefix(goname, "_Cfunc_")
    	}
    	if goname == "" || goname == "malloc" {
    		return "", false
    	}
    	name := f.Name[goname]
    	if name == nil || name.Kind != "func" {
    		// Probably a type conversion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    			}
    			p.advance(_Import, _Const, _Type, _Var, _Func)
    			continue
    		}
    
    		// Reset p.pragma BEFORE advancing to the next token (consuming ';')
    		// since comments before may set pragmas for the next function decl.
    		p.clearPragma()
    
    		if p.tok != _EOF && !p.got(_Semi) {
    			p.syntaxError("after top level declaration")
    			p.advance(_Import, _Const, _Type, _Var, _Func)
    		}
    	}
    	// p.tok == _EOF
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top