Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for May (0.12 sec)

  1. src/cmd/cgo/gcc.go

    // If it returns the empty string, the call did not need to be rewritten.
    func (p *Package) rewriteCall(f *File, call *Call) (string, bool) {
    	// This is a call to C.xxx; set goname to "xxx".
    	// It may have already been mangled by rewriteName.
    	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_")
    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