summaryrefslogtreecommitdiff
path: root/delegate_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'delegate_darwin.go')
-rw-r--r--delegate_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/delegate_darwin.go b/delegate_darwin.go
index dce4e4d..f6870e6 100644
--- a/delegate_darwin.go
+++ b/delegate_darwin.go
@@ -10,7 +10,7 @@ import (
This creates a class goAppDelegate that will be used as the delegate for /everything/. Specifically, it:
- runs uitask requests (uitask:)
- handles window close events (windowShouldClose:)
- - handles window resize events (xxxx:)
+ - handles window resize events (windowDidResize: (TODO also windowDidEndLiveResize:?))
- handles button click events (buttonClick:)
*/
@@ -82,7 +82,7 @@ func makeDelegateClass(name string) (C.Class, error) {
var (
delegate_void = []C.char{'v', '@', ':', '@', 0} // void (*)(id, SEL, id)
- delegate_bool = []C.char{'#', '@', ':', '@', 0} // BOOL (*)(id, SEL, id)
+ delegate_bool = []C.char{'c', '@', ':', '@', 0} // BOOL (*)(id, SEL, id)
)
// according to errors spit out by cgo, C function pointers are unsafe.Pointer