Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for allexport (0.43 sec)

  1. src/cmd/cgo/internal/testerrors/ptr_test.go

    		c: `#ifdef _WIN32
    		    __declspec(dllexport)
    			#endif
    		    extern unsigned char *GoFn21();`,
    		support: `//export GoFn21
    		          func GoFn21() *byte { return new(byte) }`,
    		body: `C.GoFn21()`,
    		fail: true,
    	},
    	{
    		// Returning a C pointer is fine.
    		name: "exportok",
    		c: `#include <stdlib.h>
    		    #ifdef _WIN32
    		    __declspec(dllexport)
    			#endif
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/security.go

    	re(`-f(no-)?exceptions`),
    	re(`-f(no-)?fast-math`),
    	re(`-f(no-)?inline-functions`),
    	re(`-finput-charset=([^@\-].*)`),
    	re(`-f(no-)?fat-lto-objects`),
    	re(`-f(no-)?keep-inline-dllexport`),
    	re(`-f(no-)?lto`),
    	re(`-fmacro-backtrace-limit=(.+)`),
    	re(`-fmessage-length=(.+)`),
    	re(`-f(no-)?modules`),
    	re(`-f(no-)?objc-arc`),
    	re(`-f(no-)?objc-nonfragile-abi`),
    	re(`-f(no-)?objc-legacy-dispatch`),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    			fmt.Fprintf(fgcch, "};\n")
    			gccResult = "struct " + exp.ExpName + "_return"
    		}
    
    		// Build the wrapper function compiled by gcc.
    		gccExport := ""
    		if goos == "windows" {
    			gccExport = "__declspec(dllexport) "
    		}
    		s := fmt.Sprintf("%s%s %s(", gccExport, gccResult, exp.ExpName)
    		if fn.Recv != nil {
    			s += p.cgoType(fn.Recv.List[0].Type).C.String()
    			s += " recv"
    		}
    		forFieldList(fntype.Params,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top