1
0
mirror of https://github.com/golang/go synced 2024-11-25 09:47:57 -07:00
go/misc/cgo
Alberto García Hierro c18dc11ef2 cmd/cgo: Add support for C function pointers
* Add a new kind of Name, "fpvar" which stands for function pointer variable
* When walking the AST, find functions used as expressions and create a new Name object for them
* Track functions which are only used in expr contexts, and avoid generating bridge code for them

R=golang-dev, minux.ma, fullung, rsc, iant
CC=golang-dev
https://golang.org/cl/9835047
2013-08-13 12:42:21 -04:00
..
gmp misc/cgo/gmp: fix typo. 2013-03-30 19:02:14 +08:00
life misc/cgo: prepare for 64-bit ints 2012-09-24 14:58:45 -04:00
stdio misc/cgo/stdio: make it work on Windows and also test it 2012-09-20 00:27:23 +08:00
test cmd/cgo: Add support for C function pointers 2013-08-13 12:42:21 -04:00
testasan runtime: more flexible heap memory mapping on 64-bits 2013-06-12 18:47:16 +04:00
testcdefs cmd/cgo: Fix issue with cgo cdefs 2013-07-24 17:27:42 -07:00
testso misc/cgo/testso: use bash to run test.bash 2013-05-24 07:56:01 -04:00
testtls cmd/ld: emit TLS relocations during external linking 2013-03-27 13:27:35 -07:00