Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sin (0.13 sec)

  1. src/cmd/cgo/doc.go

    As a simple example, consider a package that uses cgo to call C.sin.
    The following code will be generated by cgo:
    
    	// compiled by gc
    
    	//go:cgo_ldflag "-lm"
    
    	type _Ctype_double float64
    
    	//go:cgo_import_static _cgo_gcc_Cfunc_sin
    	//go:linkname __cgo_gcc_Cfunc_sin _cgo_gcc_Cfunc_sin
    	var __cgo_gcc_Cfunc_sin byte
    	var _cgo_gcc_Cfunc_sin = unsafe.Pointer(&__cgo_gcc_Cfunc_sin)
    
    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