Same as previous commit, but for Mac OS X now. The #cgo directives are in uitask_darwin.go.

This commit is contained in:
Pietro Gagliardi 2014-05-19 22:52:59 -04:00
parent a48dd80add
commit 946e007e5d
7 changed files with 0 additions and 7 deletions

View File

@ -7,7 +7,6 @@ import (
"image"
)
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
// #include <stdlib.h>
//// #include <HIToolbox/Events.h>
// #include "objc_darwin.h"

View File

@ -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"

View File

@ -6,7 +6,6 @@ import (
// ...
)
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
// #include "objc_darwin.h"
import "C"

View File

@ -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"

View File

@ -6,7 +6,6 @@ import (
"unsafe"
)
// #cgo LDFLAGS: -lobjc -framework Foundation
// #include <stdlib.h>
// #include "objc_darwin.h"
import "C"

View File

@ -2,7 +2,6 @@
package ui
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
// #include "objc_darwin.h"
import "C"

View File

@ -7,7 +7,6 @@ import (
"sync"
)
// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit
// #include "objc_darwin.h"
import "C"