Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Pragma (0.13 sec)

  1. src/cmd/cgo/internal/test/issue27340/a.go

    // license that can be found in the LICENSE file.
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    	library. To get the dependency without importing any specific
    	symbols, use _ for local and remote.
    
    	Example:
    	//go:cgo_import_dynamic _ _ "libc.so.6"
    
    	For compatibility with current versions of SWIG,
    	#pragma dynimport is an alias for //go:cgo_import_dynamic.
    
    //go:cgo_dynamic_linker "<path>"
    
    	In internal linking mode, use "<path>" as the dynamic linker
    	in the final binary. This directive is only needed from one
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top