Descriptioncmd/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
Patch Set 1 #Patch Set 2 : diff -r 1faca3687fe6 https://code.google.com/p/go #Patch Set 3 : diff -r 1faca3687fe6 https://code.google.com/p/go #Patch Set 4 : diff -r 8b61a4ec6d1e https://code.google.com/p/go #Patch Set 5 : diff -r 8b61a4ec6d1e https://code.google.com/p/go #
Total comments: 4
Patch Set 6 : diff -r d881cb1ffc14 https://code.google.com/p/go #
Total comments: 1
Patch Set 7 : diff -r d881cb1ffc14 https://code.google.com/p/go #
MessagesTotal messages: 16
|