Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for welcome (0.23 sec)

  1. src/cmd/cgo/gcc.go

    // from the original Go source files to the names
    // used in the final Go files generated by cgo.
    func (p *Package) mangleName(n *Name) {
    	// When using gccgo variables have to be
    	// exported so that they become global symbols
    	// that the C code can refer to.
    	prefix := "_C"
    	if *gccgo && n.IsVar() {
    		prefix = "C"
    	}
    	n.Mangle = prefix + n.Kind + "_" + n.Go
    }
    
    func (f *File) isMangledName(s string) bool {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. misc/cgo/gmp/gmp.go

    field; unrepresentable fields are replaced with opaque byte arrays.  A
    C union translates into a struct containing the first union member and
    perhaps additional padding.  C arrays become Go arrays.  C pointers
    become Go pointers.  C function pointers become Go's uintptr.
    C void pointers become Go's unsafe.Pointer.
    
    For example, mpz_t is defined in <gmp.h> as:
    
    	typedef unsigned long int mp_limb_t;
    
    	typedef struct
    	{
    		int _mp_alloc;
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top