Same as previous commit, but for Mac OS X now. The #cgo directives are in uitask_darwin.go.
This commit is contained in:
parent
a48dd80add
commit
946e007e5d
|
@ -7,7 +7,6 @@ import (
|
|||
"image"
|
||||
)
|
||||
|
||||
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
|
||||
// #include <stdlib.h>
|
||||
//// #include <HIToolbox/Events.h>
|
||||
// #include "objc_darwin.h"
|
||||
|
|
|
@ -15,7 +15,6 @@ This creates a class goAppDelegate that will be used as the delegate for /everyt
|
|||
- handles the application-global Quit event (such as from the Dock) (applicationShouldTerminate)
|
||||
*/
|
||||
|
||||
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
|
||||
// #include <stdlib.h>
|
||||
// #include "objc_darwin.h"
|
||||
import "C"
|
||||
|
|
|
@ -6,7 +6,6 @@ import (
|
|||
// ...
|
||||
)
|
||||
|
||||
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
|
||||
// #include "objc_darwin.h"
|
||||
import "C"
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ Under normal circumstances we would have to build our own data source class, as
|
|||
After switching from using the Objective-C runtime to using Objective-C directly, you will now need to look both here and in listbox_darwin.m to get what's going on.
|
||||
*/
|
||||
|
||||
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
|
||||
// #include <stdlib.h>
|
||||
// #include "objc_darwin.h"
|
||||
import "C"
|
||||
|
|
|
@ -6,7 +6,6 @@ import (
|
|||
"unsafe"
|
||||
)
|
||||
|
||||
// #cgo LDFLAGS: -lobjc -framework Foundation
|
||||
// #include <stdlib.h>
|
||||
// #include "objc_darwin.h"
|
||||
import "C"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
package ui
|
||||
|
||||
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
|
||||
// #include "objc_darwin.h"
|
||||
import "C"
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ import (
|
|||
"sync"
|
||||
)
|
||||
|
||||
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
|
||||
// #include "objc_darwin.h"
|
||||
import "C"
|
||||
|
||||
|
|
Loading…
Reference in New Issue