diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-11 12:33:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-11 12:33:28 -0400 |
| commit | 06c2f1b0517a96f5d8cb2ad22125c121618834f5 (patch) | |
| tree | 31bc8a10f90fbdb63c7bc11e16fe9c63871c77d2 | |
| parent | 732a6db368c3387488f458d642354e442e21f7c2 (diff) | |
More zwinconstgen.go work.
| -rw-r--r-- | redo/zwinconstgen.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/redo/zwinconstgen.go b/redo/zwinconstgen.go index c994da3..39253f8 100644 --- a/redo/zwinconstgen.go +++ b/redo/zwinconstgen.go @@ -112,6 +112,12 @@ import ( // MinGW will generate handle pointers as pointers to some structure type under some conditions I don't fully understand; here's full overrides var handleOverrides = []string{ "HWND", + "HINSTANCE", + "HICON", + "HCURSOR", + "HBRUSH", + // These are all pointers to functions; handle them identically to handles. + "WNDPROC", } func winName(t reflect.Type) string { for _, s := range handleOverrides { |
