Lines Matching refs:cgo
12 Instead, a separate tool, cgo, processes it to produce three output
24 is a signal to cgo. The doc comment on the import of "C" provides
28 Cgo recognizes any use of a qualified identifier C.xxx and uses gcc to
29 find the definition of xxx. If xxx is a type, cgo replaces C.xxx with
51 Cgo generates:
64 If xxx is data, cgo arranges for C.xxx to refer to the C variable,
65 with the type translated as described above. To do this, cgo must
72 then cgo would rewrite a reference to C.zero by introducing
78 Cgo's most interesting translation is for functions. If xxx is a C
79 function, then cgo rewrites C.xxx into a new function _C_xxx that
102 #cgo LDFLAGS: -lgmp