summaryrefslogtreecommitdiff
path: root/experiments
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-25 15:09:01 -0400
committerPietro Gagliardi <[email protected]>2014-05-25 15:09:01 -0400
commit51469fffb57cef9624f53a744409475fc14c6208 (patch)
tree363dddc89fe09cbbd7a88031bb5213480a256aaf /experiments
parente7327f237867157955657a781be148a559f4bd52 (diff)
Removed constants from common_windows.go. Almost done!
Diffstat (limited to 'experiments')
-rw-r--r--experiments/windowsconstgen.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/experiments/windowsconstgen.go b/experiments/windowsconstgen.go
index b2b87ee..d840a1a 100644
--- a/experiments/windowsconstgen.go
+++ b/experiments/windowsconstgen.go
@@ -73,9 +73,13 @@ func gatherNames(pkg *ast.Package) {
}
// some constants confuse cgo into thinking they're external symbols for some reason
+// fortunately all these constants are pointers
// TODO debug cgo
var hacknames = map[string]string{
"_INVALID_HANDLE_VALUE": "x_INVALID_HANDLE_VALUE",
+ "_NULL": "x_NULL",
+ "_IDI_APPLICATION": "x_IDI_APPLICATION",
+ "_IDC_ARROW": "x_IDC_ARROW",
}
func hacknamesPreamble() string {