Descriptionruntime: add cgocallback_gofunc that can call Go func value
For now, all the callbacks from C use top-level Go functions,
so they use the equivalent C function pointer, and will continue
to do so. But perhaps some day this will be useful for calling
a Go func value (at least if the type is already known).
More importantly, the Windows callback code needs to be able
to use cgocallback_gofunc to call a Go func value.
Should fix the Windows build.
Patch Set 1 #Patch Set 2 : diff -r 9f1072c320da https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 9f1072c320da https://go.googlecode.com/hg/ #Patch Set 4 : diff -r a9bb6b6bce8b https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|