Size: a a a
VY
VY
user@dt1:~/src/cgo-by-example> LD_LIBRARY_PATH=. go run main.go
f0()
f1(5)
f1(8)
f2(Go string)
fmt: return f2(Go string)
f31: s1={5}, s1Ret={10}
f32: s1={10}, s1Ret={10}
s2={0xc0000b201c}, *s2.p=8, i=8
f4: s2={0xc0000b201c}, *s2.p=16, i=8
f1(0)
f1(1)
f1(2)
VY
VY
VY
VY
CGO_ENABLED=1
явно
VY
VY
VY
VY
VY
VY
с